drm/amd/display: Add 64KB_S_T and 64KB_D_T swizzle mode.
authorYongqiang Sun <yongqiang.sun@amd.com>
Fri, 5 May 2017 20:33:11 +0000 (16:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:07:03 +0000 (18:07 -0400)
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>
drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c

index 1b9edfda2b98ee460f5316189819606e270c5e3d..26587bcdba96ede27ab881ad550f4513c46a810c 100644 (file)
@@ -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;