From: jsg Date: Thu, 6 Jul 2023 04:13:52 +0000 (+0000) Subject: drm/amd/display: Remove optimization for VRR updates X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ae52a23f00e38e3a3768d517076f07a9e0446210;p=openbsd drm/amd/display: Remove optimization for VRR updates From Alvin Lee dd6d6f9d47aebf50713fb857f91402a1c6c3131c in linux-6.1.y/6.1.38 3442f4e0e55555d14b099c17382453fdfd2508d5 in mainline linux --- diff --git a/sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c b/sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c index af7aefe285f..2e936930007 100644 --- a/sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c +++ b/sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c @@ -401,9 +401,6 @@ bool dc_stream_adjust_vmin_vmax(struct dc *dc, { int i; - if (memcmp(adjust, &stream->adjust, sizeof(struct dc_crtc_timing_adjust)) == 0) - return true; - stream->adjust.v_total_max = adjust->v_total_max; stream->adjust.v_total_mid = adjust->v_total_mid; stream->adjust.v_total_mid_frame_num = adjust->v_total_mid_frame_num;