drm/i915/display: Drop check for doublescan mode in modevalid
authorjsg <jsg@openbsd.org>
Thu, 14 Dec 2023 05:40:30 +0000 (05:40 +0000)
committerjsg <jsg@openbsd.org>
Thu, 14 Dec 2023 05:40:30 +0000 (05:40 +0000)
From Ankit Nautiyal
e6d55cf4939987eb1761cb0cbf47af233123da87 in linux-6.1.y/6.1.68
9d04eb20bc71a383b4d4e383b0b7fac8d38a2e34 in mainline linux

sys/dev/pci/drm/i915/display/intel_dp.c
sys/dev/pci/drm/i915/display/intel_hdmi.c

index 68c0692..4a2fb19 100644 (file)
@@ -973,9 +973,6 @@ intel_dp_mode_valid(struct drm_connector *_connector,
        enum drm_mode_status status;
        bool dsc = false, bigjoiner = false;
 
-       if (mode->flags & DRM_MODE_FLAG_DBLSCAN)
-               return MODE_NO_DBLESCAN;
-
        if (mode->flags & DRM_MODE_FLAG_DBLCLK)
                return MODE_H_ILLEGAL;
 
index 3565da9..286668e 100644 (file)
@@ -1987,9 +1987,6 @@ intel_hdmi_mode_valid(struct drm_connector *connector,
        bool has_hdmi_sink = intel_has_hdmi_sink(hdmi, connector->state);
        bool ycbcr_420_only;
 
-       if (mode->flags & DRM_MODE_FLAG_DBLSCAN)
-               return MODE_NO_DBLESCAN;
-
        if ((mode->flags & DRM_MODE_FLAG_3D_MASK) == DRM_MODE_FLAG_3D_FRAME_PACKING)
                clock *= 2;