drm/i915/tv: Filter out >1024 wide modes that would need vertical scaling on gen3
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 12 Nov 2018 17:00:00 +0000 (19:00 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 25 Jan 2019 17:10:15 +0000 (19:10 +0200)
commit0bb1ffe4eaa40e953f700886515a1edb27dfc24c
tree5fd3f808c490374a5e1303e84e20688ab16c6d10
parent690157f0a9e7e4e903111794fae42bd2ff1abb93
drm/i915/tv: Filter out >1024 wide modes that would need vertical scaling on gen3

Since gen3 can't handle >1024 wide sources with vertical scaling
let's not advertize such modes in the mode list. Less tempetation
to the user to try out things that won't work.

v2: s/IS_GEN3(dev_priv/IS_GEN(dev_priv, 3)/

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181112170000.27531-17-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/intel_tv.c