]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915: Limit MST modes based on plane size too
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 1 Oct 2019 15:46:28 +0000 (18:46 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 2 Oct 2019 14:21:48 +0000 (17:21 +0300)
commit74f1d78965ee16a2617d245fd1f7e40964c0d562
treea784d7316e0bcf1339abc70f003a64d5a5f59543
parent4fb8783165b7c6fb4b52428dbb80da8554e5fd1e
drm/i915: Limit MST modes based on plane size too

When adding the max plane size checks to the .mode_valid() hooks
I naturally forgot about MST. Take care of that one as well.

Cc: Manasi Navare <manasi.d.navare@intel.com>
Cc: Sean Paul <sean@poorly.run>
Cc: José Roberto de Souza <jose.souza@intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fixes: 2d20411e25a3 ("drm/i915: Don't advertise modes that exceed the max plane size")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191001154629.11063-1-ville.syrjala@linux.intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/display/intel_dp_mst.c