]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
Revert "drm/amd/display: Setup for mmhubbub3_warmup_mcif with big buffer"
authorAlex Hung <alex.hung@amd.com>
Wed, 11 Oct 2023 19:18:33 +0000 (13:18 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Oct 2023 15:06:36 +0000 (11:06 -0400)
This reverts commit 428542d9177286c01ef7a3dbd026eb00567e06b1.

[WHY & HOW]
The writeback series cause a regression in thunderbolt display.

Signed-off-by: Alex Hung <alex.hung@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

index 27f27af2a8a5e9b9364af59fdb72ddd5feb9bc6f..3a451805a5139757f766577e46deca66a544243d 100644 (file)
@@ -8827,7 +8827,6 @@ static void dm_set_writeback(struct amdgpu_display_manager *dm,
                              struct drm_connector_state *new_con_state)
 {
        struct drm_writeback_connector *wb_conn = drm_connector_to_writeback(connector);
-       struct amdgpu_device *adev = dm->adev;
        struct amdgpu_crtc *acrtc;
        struct dc_writeback_info *wb_info;
        struct pipe_ctx *pipe = NULL;
@@ -8903,11 +8902,6 @@ static void dm_set_writeback(struct amdgpu_display_manager *dm,
        }
 
        wb_info->mcif_buf_params.p_vmid = 1;
-       if (adev->ip_versions[DCE_HWIP][0] >= IP_VERSION(3, 0, 0)) {
-               wb_info->mcif_warmup_params.start_address.quad_part = afb->address;
-               wb_info->mcif_warmup_params.region_size =
-                       wb_info->mcif_buf_params.luma_pitch * wb_info->dwb_params.dest_height;
-       }
        wb_info->mcif_warmup_params.p_vmid = 1;
        wb_info->writeback_source_plane = pipe->plane_state;