drm/amd/display: Fix uninitialized field when expanding macro MI_DCE12_MASK_SH_LIST
authorLeslie Shi <Yuliang.Shi@amd.com>
Tue, 1 Jun 2021 02:27:02 +0000 (10:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Jun 2021 16:40:00 +0000 (12:40 -0400)
Add back.

Fixes: 0cadcf7c100161 ("drm/amd/display/dc/dce/dce_mem_input: Remove duplicate initialisation of GRPH_CONTROL__GRPH_NUM_BANKS_{SHIFT, MASK}")
Signed-off-by: Leslie Shi <Yuliang.Shi@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.h

index 08a4c8d..f98400e 100644 (file)
@@ -297,6 +297,7 @@ struct dce_mem_input_registers {
        MI_DCP_PTE_MASK_SH_LIST(mask_sh, )
 
 #define MI_GFX9_TILE_MASK_SH_LIST(mask_sh, blk)\
+       SFB(blk, GRPH_CONTROL, GRPH_NUM_BANKS, mask_sh),\
        SFB(blk, GRPH_CONTROL, GRPH_SW_MODE, mask_sh),\
        SFB(blk, GRPH_CONTROL, GRPH_SE_ENABLE, mask_sh),\
        SFB(blk, GRPH_CONTROL, GRPH_NUM_SHADER_ENGINES, mask_sh),\