mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
drm/i915/power: add "runtime" to intel_display_power_{suspend, resume}() names
The intel_display_power_suspend() and intel_display_power_resume() functions are supposed to be called from the struct dev_pm_pops .runtime_suspend and .runtime_resume hook paths. Name them accordingly to intel_display_power_runtime_suspend() and intel_display_power_runtime_resume(). Cc: Imre Deak <imre.deak@intel.com> Reviewed-by: Imre Deak <imre.deak@intel.coM> Link: https://patch.msgid.link/4a8ae520e3151d6cf5d9e9e3a452f620cf781ee5.1779876087.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
parent
2cd48d05fb
commit
638319d35e
|
|
@ -2289,7 +2289,7 @@ void intel_display_power_resume_early(struct intel_display *display)
|
|||
intel_power_domains_resume(display);
|
||||
}
|
||||
|
||||
void intel_display_power_suspend(struct intel_display *display)
|
||||
void intel_display_power_runtime_suspend(struct intel_display *display)
|
||||
{
|
||||
if (DISPLAY_VER(display) >= 11) {
|
||||
icl_display_core_uninit(display);
|
||||
|
|
@ -2302,7 +2302,7 @@ void intel_display_power_suspend(struct intel_display *display)
|
|||
}
|
||||
}
|
||||
|
||||
void intel_display_power_resume(struct intel_display *display)
|
||||
void intel_display_power_runtime_resume(struct intel_display *display)
|
||||
{
|
||||
struct i915_power_domains *power_domains = &display->power.domains;
|
||||
|
||||
|
|
|
|||
|
|
@ -179,12 +179,13 @@ void intel_display_power_sanitize_state(struct intel_display *display);
|
|||
|
||||
void intel_display_power_suspend_late(struct intel_display *display, bool s2idle);
|
||||
void intel_display_power_resume_early(struct intel_display *display);
|
||||
void intel_display_power_suspend(struct intel_display *display);
|
||||
void intel_display_power_resume(struct intel_display *display);
|
||||
void intel_display_power_set_target_dc_state(struct intel_display *display,
|
||||
u32 state);
|
||||
u32 intel_display_power_get_current_dc_state(struct intel_display *display);
|
||||
|
||||
void intel_display_power_runtime_suspend(struct intel_display *display);
|
||||
void intel_display_power_runtime_resume(struct intel_display *display);
|
||||
|
||||
bool intel_display_power_is_enabled(struct intel_display *display,
|
||||
enum intel_display_power_domain domain);
|
||||
struct ref_tracker *intel_display_power_get(struct intel_display *display,
|
||||
|
|
|
|||
|
|
@ -1591,7 +1591,7 @@ static int intel_runtime_suspend(struct device *kdev)
|
|||
for_each_gt(gt, dev_priv, i)
|
||||
intel_uncore_suspend(gt->uncore);
|
||||
|
||||
intel_display_power_suspend(display);
|
||||
intel_display_power_runtime_suspend(display);
|
||||
|
||||
ret = vlv_suspend_complete(dev_priv);
|
||||
if (ret) {
|
||||
|
|
@ -1685,7 +1685,7 @@ static int intel_runtime_resume(struct device *kdev)
|
|||
drm_dbg(&dev_priv->drm,
|
||||
"Unclaimed access during suspend, bios?\n");
|
||||
|
||||
intel_display_power_resume(display);
|
||||
intel_display_power_runtime_resume(display);
|
||||
|
||||
ret = vlv_resume_prepare(dev_priv, true);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user