drm/i915/sdvo: Filter out invalid outputs more sensibly
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 26 Oct 2022 10:11:27 +0000 (13:11 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 28 Oct 2022 11:44:48 +0000 (14:44 +0300)
commitcc1e66394daaa7e9f005e2487a84e34a39f9308b
tree17e1e2dc75149f352ff7cdd5461c1a9e452071a9
parent8388eb067cd6db7ea514235d84798dd73872208a
drm/i915/sdvo: Filter out invalid outputs more sensibly

We try to filter out the corresponding xxx1 output
if the xxx0 output is not present. But the way that is
being done is pretty awkward. Make it less so.

Cc: stable@vger.kernel.org
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221026101134.20865-2-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_sdvo.c