From: jsg Date: Thu, 14 Dec 2023 05:40:30 +0000 (+0000) Subject: drm/i915/display: Drop check for doublescan mode in modevalid X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=48c836360aad561c373763c1cf5cb4ed78fd9b01;p=openbsd drm/i915/display: Drop check for doublescan mode in modevalid From Ankit Nautiyal e6d55cf4939987eb1761cb0cbf47af233123da87 in linux-6.1.y/6.1.68 9d04eb20bc71a383b4d4e383b0b7fac8d38a2e34 in mainline linux --- diff --git a/sys/dev/pci/drm/i915/display/intel_dp.c b/sys/dev/pci/drm/i915/display/intel_dp.c index 68c0692798a..4a2fb199ab7 100644 --- a/sys/dev/pci/drm/i915/display/intel_dp.c +++ b/sys/dev/pci/drm/i915/display/intel_dp.c @@ -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; diff --git a/sys/dev/pci/drm/i915/display/intel_hdmi.c b/sys/dev/pci/drm/i915/display/intel_hdmi.c index 3565da91402..286668e86ab 100644 --- a/sys/dev/pci/drm/i915/display/intel_hdmi.c +++ b/sys/dev/pci/drm/i915/display/intel_hdmi.c @@ -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;