drm/i915/display: add intel_display_reset.[ch]
authorJani Nikula <jani.nikula@intel.com>
Fri, 14 Apr 2023 09:41:59 +0000 (12:41 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 17 Apr 2023 08:17:51 +0000 (11:17 +0300)
commit59c6106e274dbafd9d25357585ae5ede4b6673dd
tree38fff94bbe82fd56ef52c3fbdc8ab5275d877ff6
parent86a1758d751de03e8f3d8810fe22eaf571798871
drm/i915/display: add intel_display_reset.[ch]

Split out the display reset functionality to a separate file to
declutter intel_display.c. Rename the functions accordingly. The minor
downside is having to expose __intel_display_resume().

Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/5e98e2fc5f0c09490e02d22250c8201342852288.1681465222.git.jani.nikula@intel.com
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display.h
drivers/gpu/drm/i915/display/intel_display_reset.c [new file with mode: 0644]
drivers/gpu/drm/i915/display/intel_display_reset.h [new file with mode: 0644]
drivers/gpu/drm/i915/gt/intel_reset.c