From: Leon Elazar Date: Tue, 17 Jan 2017 21:16:04 +0000 (-0500) Subject: drm/amd/display: Add missing MI masks X-Git-Tag: Ubuntu-5.10.0-12.13~8971^2~23^2~757 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=b565ff86aaebee65141a4a441f782a05962d4c14;p=mirror_ubuntu-hirsute-kernel.git drm/amd/display: Add missing MI masks This will fix the memory Input programing with MST tiled display. This Fix should fix connectivity problems with MST tiled Display Signed-off-by: Leon Elazar Acked-by: Harry Wentland Reviewed-by: Tony Cheng Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.h b/drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.h index f90d586656ef..ec053c241901 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.h +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.h @@ -92,6 +92,8 @@ struct dce_mem_input_registers { .field_name = blk_name ## reg_name ## __ ## field_name ## post_fix #define MI_GFX8_TILE_MASK_SH_LIST(mask_sh, blk)\ + SFB(blk, GRPH_CONTROL, GRPH_NUM_BANKS, mask_sh),\ + SFB(blk, GRPH_CONTROL, GRPH_BANK_WIDTH, mask_sh),\ SFB(blk, GRPH_CONTROL, GRPH_BANK_HEIGHT, mask_sh),\ SFB(blk, GRPH_CONTROL, GRPH_MACRO_TILE_ASPECT, mask_sh),\ SFB(blk, GRPH_CONTROL, GRPH_TILE_SPLIT, mask_sh),\