OSDN Git Service

drm/i915: Initialize panel_pipe to INVALID_PIPE
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 23 May 2018 14:57:18 +0000 (17:57 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 25 May 2018 15:00:26 +0000 (18:00 +0300)
commit10ed55e4d94c39cf32058cc0a2a7935b67e4bc9c
tree4957dbaf8e16ef67237ff580cd7c173f206037ef
parent73b66f8731573a5fa74799dfabb4cdfe513b9241
drm/i915: Initialize panel_pipe to INVALID_PIPE

We can always figure out which pipe is affected by the panel power
sequencer lockout mechanism. So no need for the pipe A fallback
anymore. The only case we may have to worry about is an invalid
port select in the power sequencer, but INVALID_PIPE is just fine
in that case. We'll get the WARN about the bogus pps port select
anyway.

Cc: Jani Nikula <jani.nikula@intel.com>
Suggested-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180523145718.22932-1-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_display.c