drm/i915: Replace the VLV/CHV eDP reboot notifier with the .shutdown() hook
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 1 Oct 2020 15:16:37 +0000 (18:16 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 9 Oct 2020 18:12:12 +0000 (21:12 +0300)
commit063348f6a72634c8825e500bd315892a9de6a13a
tree4b9b55ba71f2b9502cdb92e7cdfc9d1b61cc2f77
parent100fe4c01efff5e3b930c7aaff9c2ebeb78d1b87
drm/i915: Replace the VLV/CHV eDP reboot notifier with the .shutdown() hook

Currently VLV/CHV use a reboot notifier to make sure the panel
power cycle delay isn't violated across a system reboot. Replace
that with the new encoder .shutdown() hook.

And let's also stop overriding the power cycle delay with the
max value. No idea why the current code does that. The already
programmed delay should be correct.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201001151640.14590-3-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/display/intel_dp.c