]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Mon, 31 Oct 2022 12:32:07 +0000 (12:32 +0000)
commitd2569cf83075542e1a86014130783ba019c6c671
treef5598b32573e498ac8dc71d3235936aa19f32a81
parent3cd7af3d3cca544ee40c03fa19f6acc116834733
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>
(cherry picked from commit cc1e66394daaa7e9f005e2487a84e34a39f9308b)
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
drivers/gpu/drm/i915/display/intel_sdvo.c