mirror of
https://github.com/torvalds/linux.git
synced 2026-09-26 18:12:03 +02:00
drm/xe/display: rename xe_display_pm_shutdown*() to xe_display_shutdown*()
The shutdown functions get called from the struct pci_driver .shutdown hook, not through the struct dev_pm_ops hooks. Name accordingly, dropping the "pm" from the name, even if shutdown has a lot of similarities with suspend. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patch.msgid.link/8d5b5aa92cff77a99b3687c231a50ec576d6f37e.1780389001.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
parent
b70bd3d40d
commit
b4843a4dec
|
|
@ -347,7 +347,7 @@ void xe_display_pm_suspend(struct xe_device *xe)
|
|||
intel_dmc_suspend(display);
|
||||
}
|
||||
|
||||
void xe_display_pm_shutdown(struct xe_device *xe)
|
||||
void xe_display_shutdown(struct xe_device *xe)
|
||||
{
|
||||
struct intel_display *display = xe->display;
|
||||
|
||||
|
|
@ -421,7 +421,7 @@ void xe_display_pm_runtime_suspend_late(struct xe_device *xe)
|
|||
intel_dmc_wl_flush_release_work(display);
|
||||
}
|
||||
|
||||
void xe_display_pm_shutdown_late(struct xe_device *xe)
|
||||
void xe_display_shutdown_late(struct xe_device *xe)
|
||||
{
|
||||
struct intel_display *display = xe->display;
|
||||
|
||||
|
|
|
|||
|
|
@ -23,15 +23,16 @@ int xe_display_init(struct xe_device *xe);
|
|||
void xe_display_register(struct xe_device *xe);
|
||||
void xe_display_unregister(struct xe_device *xe);
|
||||
|
||||
void xe_display_shutdown(struct xe_device *xe);
|
||||
void xe_display_shutdown_late(struct xe_device *xe);
|
||||
|
||||
void xe_display_irq_handler(struct xe_device *xe, u32 master_ctl);
|
||||
void xe_display_irq_enable(struct xe_device *xe, u32 gu_misc_iir);
|
||||
void xe_display_irq_reset(struct xe_device *xe);
|
||||
void xe_display_irq_postinstall(struct xe_device *xe);
|
||||
|
||||
void xe_display_pm_suspend(struct xe_device *xe);
|
||||
void xe_display_pm_shutdown(struct xe_device *xe);
|
||||
void xe_display_pm_suspend_late(struct xe_device *xe);
|
||||
void xe_display_pm_shutdown_late(struct xe_device *xe);
|
||||
void xe_display_pm_resume_early(struct xe_device *xe);
|
||||
void xe_display_pm_resume(struct xe_device *xe);
|
||||
void xe_display_pm_runtime_suspend(struct xe_device *xe);
|
||||
|
|
@ -52,15 +53,16 @@ static inline int xe_display_init(struct xe_device *xe) { return 0; }
|
|||
static inline void xe_display_register(struct xe_device *xe) {}
|
||||
static inline void xe_display_unregister(struct xe_device *xe) {}
|
||||
|
||||
static inline void xe_display_shutdown(struct xe_device *xe) {}
|
||||
static inline void xe_display_shutdown_late(struct xe_device *xe) {}
|
||||
|
||||
static inline void xe_display_irq_handler(struct xe_device *xe, u32 master_ctl) {}
|
||||
static inline void xe_display_irq_enable(struct xe_device *xe, u32 gu_misc_iir) {}
|
||||
static inline void xe_display_irq_reset(struct xe_device *xe) {}
|
||||
static inline void xe_display_irq_postinstall(struct xe_device *xe) {}
|
||||
|
||||
static inline void xe_display_pm_suspend(struct xe_device *xe) {}
|
||||
static inline void xe_display_pm_shutdown(struct xe_device *xe) {}
|
||||
static inline void xe_display_pm_suspend_late(struct xe_device *xe) {}
|
||||
static inline void xe_display_pm_shutdown_late(struct xe_device *xe) {}
|
||||
static inline void xe_display_pm_resume_early(struct xe_device *xe) {}
|
||||
static inline void xe_display_pm_resume(struct xe_device *xe) {}
|
||||
static inline void xe_display_pm_runtime_suspend(struct xe_device *xe) {}
|
||||
|
|
|
|||
|
|
@ -1102,14 +1102,14 @@ void xe_device_shutdown(struct xe_device *xe)
|
|||
|
||||
drm_dbg(&xe->drm, "Shutting down device\n");
|
||||
|
||||
xe_display_pm_shutdown(xe);
|
||||
xe_display_shutdown(xe);
|
||||
|
||||
xe_irq_suspend(xe);
|
||||
|
||||
for_each_gt(gt, xe, id)
|
||||
xe_gt_shutdown(gt);
|
||||
|
||||
xe_display_pm_shutdown_late(xe);
|
||||
xe_display_shutdown_late(xe);
|
||||
|
||||
if (!xe_driver_flr_disabled(xe)) {
|
||||
/* BOOM! */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user