]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Rename i915_{save,restore}_state()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 5 Oct 2020 17:14:41 +0000 (20:14 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 9 Oct 2020 18:12:13 +0000 (21:12 +0300)
commitd0fde344416e43202ec8c3e7ab8cad79e6796c37
tree6b9834921931b109371570c930034e029697489e
parent21c21768bf12c446058c59e83cd634cee0ca7bbc
drm/i915: Rename i915_{save,restore}_state()

i915_{save,restore}_state() are actually all about the display.
Currently they are split into display part + SWF part. But since
the SWF part is also related to the display let's just move that
part into its own thing and flip the roles around so that the
current display part is the main function.

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