[PATCH] Revert "drm/amd/display: Reset freesync config before update new state"
Alex Deucher
alexdeucher at gmail.com
Thu Jul 11 15:16:51 UTC 2024
On Thu, Jul 11, 2024 at 10:40 AM <sunpeng.li at amd.com> wrote:
>
> From: Leo Li <sunpeng.li at amd.com>
>
> This change caused PSR SU panels to not read from their remote fb,
> preventing us from entering self-refresh. It is a regression.
>
> This reverts commit f8ebe6341a6a3745ef02648b4b5c2c89fa4a9ace.
>
> Signed-off-by: Leo Li <sunpeng.li at amd.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> index d1527c2e46a1..19307d0024d3 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> @@ -10463,7 +10463,6 @@ static int dm_update_crtc_state(struct amdgpu_display_manager *dm,
> }
>
> /* Update Freesync settings. */
> - reset_freesync_config_for_crtc(dm_new_crtc_state);
> get_freesync_config_for_crtc(dm_new_crtc_state,
> dm_new_conn_state);
>
> --
> 2.45.2
>
More information about the amd-gfx
mailing list