OSDN Git Service

drm/i915: move gmbus restore to i915_restore_display
authorJani Nikula <jani.nikula@intel.com>
Thu, 10 Sep 2020 09:52:27 +0000 (12:52 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 11 Sep 2020 10:50:37 +0000 (13:50 +0300)
commit4a1a4a442736b5f6b71a0fcce292c351e889b808
tree8488ed050c8847a75d2117906e8e27f136de7bdb
parent59c0df3cd27c330f1282722004369d173c9c2a3d
drm/i915: move gmbus restore to i915_restore_display

Logically part of the display restore.

Note: This has been in place since the introduction of gmbus
support. The gmbus code also does the resets before transfers. Is this
really needed, or a historical accident?

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