drm/amd/display: Remove optimization for VRR updates
authorjsg <jsg@openbsd.org>
Thu, 6 Jul 2023 04:13:52 +0000 (04:13 +0000)
committerjsg <jsg@openbsd.org>
Thu, 6 Jul 2023 04:13:52 +0000 (04:13 +0000)
From Alvin Lee
dd6d6f9d47aebf50713fb857f91402a1c6c3131c in linux-6.1.y/6.1.38
3442f4e0e55555d14b099c17382453fdfd2508d5 in mainline linux

sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c

index af7aefe..2e93693 100644 (file)
@@ -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;