]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit76312840cd6c8c170f295de691f73de232deba7a
tree414baf5475e805ee92a901f60962116021a4160e
parent23f209a9876d95fa8ba4465a01501fd2ecad3d3d
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