]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/{i915, xe}: Move power_domains suspend/resume to display_power
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 13 Nov 2024 22:50:16 +0000 (17:50 -0500)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 14 Nov 2024 15:57:51 +0000 (10:57 -0500)
commita594f284ddce5b152ffe4d938708ed714f796887
tree0a6ec33156807f95a1b0acbb09ef2c79c500bba2
parent5772c4e999b70ce0ada481a6b36a62348d633296
drm/{i915, xe}: Move power_domains suspend/resume to display_power

Move intel_power_domains_{suspend,resume} to inside
intel_display_power_{suspend_late, resume_early}.

With this also change the VLV suspend failure to call
the intel_display_power_resume_early. In the end, the only
function executed there for VLV is the intel_power_domains_resume.
Besides make the code more consistency give the call that was
immediately before: intel_display_power_suspend_late.

Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241113225016.208673-7-rodrigo.vivi@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/display/intel_display_power.c
drivers/gpu/drm/i915/display/intel_display_power.h
drivers/gpu/drm/i915/i915_driver.c
drivers/gpu/drm/xe/display/xe_display.c