g2d: change layer security setting
authorCho KyongHo <pullip.cho@samsung.com>
Tue, 13 Mar 2018 05:37:42 +0000 (14:37 +0900)
committerSeungchul Kim <sc377.kim@samsung.com>
Mon, 28 May 2018 05:28:08 +0000 (14:28 +0900)
Initialization of the regster at 0x30 guarantees G2D working correctly
on both of Exynos9810 and Exynos9820. On the other hand, initialzing
the register at 0x34 effects nothing.

Change-Id: I015ce6f7e873e10527d02a318010d004c66e2ed3
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
drivers/gpu/exynos/g2d/g2d_command.c

index d22b2cb4f949e270d96051193b02535bacca9978..98327372620d3fbcff47fe738092c1a6f41694c9 100644 (file)
@@ -49,7 +49,7 @@
 
 enum {
        TASK_REG_SOFT_RESET,
-       TASK_REG_LAYER_SECURE,
+       TASK_REG_SECURE_MODE,
        TASK_REG_LAYER_UPDATE,
 
        TASK_REG_COUNT
@@ -61,7 +61,7 @@ enum {
  */
 static struct g2d_reg g2d_setup_commands[TASK_REG_COUNT] = {
        {G2D_SOFT_RESET_REG,   0x00000004}, /* CoreSFRClear */
-       {G2D_SECURE_LAYER_REG, 0x00000000},
+       {G2D_SECURE_MODE_REG,  0x00000000},
        {G2D_LAYER_UPDATE_REG, 0x00000000},
 };