From: Yongqiang Sun Date: Fri, 5 May 2017 20:33:11 +0000 (-0400) Subject: drm/amd/display: Add 64KB_S_T and 64KB_D_T swizzle mode. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d4b4597384eac0e2d293912cf4cebded27246301;p=openwrt%2Fstaging%2Fblogic.git drm/amd/display: Add 64KB_S_T and 64KB_D_T swizzle mode. Signed-off-by: Yongqiang Sun Reviewed-by: Tony Cheng Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c b/drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c index 1b9edfda2b98..26587bcdba96 100644 --- a/drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c +++ b/drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c @@ -236,6 +236,7 @@ static void pipe_ctx_to_e2e_pipe_params ( break; case DC_SW_64KB_S: case DC_SW_64KB_S_X: + case DC_SW_64KB_S_T: input->src.is_display_sw = 0; input->src.macro_tile_size = dm_64k_tile; break; @@ -253,6 +254,7 @@ static void pipe_ctx_to_e2e_pipe_params ( break; case DC_SW_64KB_D: case DC_SW_64KB_D_X: + case DC_SW_64KB_D_T: input->src.is_display_sw = 1; input->src.macro_tile_size = dm_64k_tile; break;