drm/i915/skl: Don't try to read out the PCH transcoder state if not present
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 3 Dec 2013 13:56:24 +0000 (13:56 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Sep 2014 12:41:33 +0000 (14:41 +0200)
commitca3704555c1360b98c645a0c5f882a3011a225f0
tree12e378a6bcc6acd99c5de306d9eb821a84d4272e
parent884497edd9e982eaf5c7e1216029625cec3c5f5e
drm/i915/skl: Don't try to read out the PCH transcoder state if not present

When the platform doesn't have a FDI link, don't try to read out the
state of a potential PCH transcoder.

Reviewed-by: Thomas Wood <thomas.wood@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
[danvet: Don't open-code HAS_FDI if there's only one place that needs
it. Acked by Damien on irc.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c