diff options
author | Yongqiang Sun <yongqiang.sun@amd.com> | 2017-05-05 16:33:11 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 18:07:03 -0400 |
commit | d4b4597384eac0e2d293912cf4cebded27246301 (patch) | |
tree | a2db5f9d24c44d057638ae96cc9514f8e5d42b29 /drivers/gpu/drm/amd/display/dc | |
parent | c66a54dc4a8403ab269568b3f964b0efd4052932 (diff) | |
download | linux-stable-d4b4597384eac0e2d293912cf4cebded27246301.tar.gz linux-stable-d4b4597384eac0e2d293912cf4cebded27246301.tar.bz2 linux-stable-d4b4597384eac0e2d293912cf4cebded27246301.zip |
drm/amd/display: Add 64KB_S_T and 64KB_D_T swizzle mode.
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |