drm/i915: Switch LSPCON to PCON mode if it's in LS mode
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 7 Nov 2018 17:18:21 +0000 (19:18 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 13 Nov 2018 13:22:27 +0000 (15:22 +0200)
commit6bd36e0822ca841bbb21d050e80cd690209bd322
tree268e931621b73a75f02fced3ec6511c6ed75415d
parent63ac3328f0d1d37f286e397b14d9596ed09d7ca5
drm/i915: Switch LSPCON to PCON mode if it's in LS mode

We no longer change LSPCON into PCON mode if it boots up in
LS mode. This was broken by some code shuffling in
commit 96e35598cead ("drm/i915: Check LSPCON vendor OUI").

I actually can't see a reason why that code shuffling had
to be done. The commit msg notes it but doesn't justify it
in any way. But I guess we'll keep the code in its current
place anyway and just make the "switch to PCON mode" part
effective once again.

Cc: Shashank Sharma <shashank.sharma@intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Tested-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Fixes: 96e35598cead ("drm/i915: Check LSPCON vendor OUI")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181107171821.27862-1-ville.syrjala@linux.intel.com
Reviewed-by: Shashank Sharma <shashank.sharma@intel.com>
drivers/gpu/drm/i915/intel_lspcon.c