diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-04-02 16:51:42 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-04-03 16:34:24 +0300 |
commit | e00f20baee90bf37a665c589c7a10bf13570d9e8 (patch) | |
tree | 611a322535fc1160b0fa77eca631c044b256271a /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
parent | 318e82583ca96fdb835d28e0c1ac8dc7cfbfb5bd (diff) | |
download | linux-e00f20baee90bf37a665c589c7a10bf13570d9e8.tar.gz linux-e00f20baee90bf37a665c589c7a10bf13570d9e8.tar.bz2 linux-e00f20baee90bf37a665c589c7a10bf13570d9e8.zip |
drm/i915: Remove DRM_MODE_FLAG_DBLSCAN checks from .mode_valid() hooks
We never set connector->doublescan_allowed, so the probe helper
already filters out all doublescan modes for us.
Sadly we still need to keep the explicit doublescan checks
in .compute_config as outlined in commit e4dd27aadd20
("drm/i915: Allow DBLSCAN user modes with eDP/LVDS/DSI")
Reviewed-by: Vandita Kulkarni <vandita.kulkarni@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240402135148.23011-2-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_dp_mst.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dp_mst.c b/drivers/gpu/drm/i915/display/intel_dp_mst.c index 53aec023ce92..9a7c75039989 100644 --- a/drivers/gpu/drm/i915/display/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/display/intel_dp_mst.c @@ -1302,11 +1302,6 @@ intel_dp_mst_mode_valid_ctx(struct drm_connector *connector, if (*status != MODE_OK) return 0; - if (mode->flags & DRM_MODE_FLAG_DBLSCAN) { - *status = MODE_NO_DBLESCAN; - return 0; - } - max_link_clock = intel_dp_max_link_rate(intel_dp); max_lanes = intel_dp_max_lane_count(intel_dp); |