drm/i915: Add hardware readout for FEC
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 25 Sep 2019 08:21:10 +0000 (10:21 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 25 Sep 2019 11:26:49 +0000 (13:26 +0200)
commit8aa940c8551cce80bafcd8e1cd93d7b39a1acd8a
tree414baf5475e805ee92a901f60962116021a4160e
parented06efb801bd291e935238d3fba46fa03d098f0e
drm/i915: Add hardware readout for FEC

Readout the FEC state in encoder->get_config(), this will allow
us to ensure that we can correctly inherit the state from boot,
and that we set FEC during modeset.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190925082110.17439-2-maarten.lankhorst@linux.intel.com
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_display.c