drm/i915: Call intel_opregion_notify_encoder in intel_sanitize_encoder, v2.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 16 May 2018 08:50:38 +0000 (10:50 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 31 May 2018 08:42:37 +0000 (10:42 +0200)
commitd6cae4aa30ce551dfa2872f793f64d39719da6b7
tree21493b3bab2f7abbcd047b5e3a87aab67222850b
parent9d570dbfc095de08e401d6a627c9c212ab7aaa80
drm/i915: Call intel_opregion_notify_encoder in intel_sanitize_encoder, v2.

Normally this is called on a modeset, but the call is missing when
we inherit the mode from the BIOS, so make sure it's called somewhere
in hardware readout.

Changes since v1:
- Unconditionally call intel_opregion_notify_encoder. (Ville)

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