From: Tilak Tangudu
Added lmem deep suspend/resume, which covers lmem
eviction and added GT/GUC deep suspend/resume
using i915_gem_backup_suspend, i915_gem_suspend_late
and i915_gem_resume.
Signed-off-by: Tilak Tangudu
---
drivers/gpu/drm/i915/i915_driver.c | 74
From: Aravind Iddamsetty
Add i915_save/load_pci_state helpers which saves
pci config state and restores the saved state.
Signed-off-by: Aravind Iddamsetty
Signed-off-by: Tilak Tangudu
---
drivers/gpu/drm/i915/i915_driver.c | 34 ++
drivers/gpu/drm/i915
From: Tilak Tangudu
Add d3cold_sr_lmem_threshold modparam to choose between
d3cold-off zero watt and d3hot/d3cold-VRAM Self Refresh.
i915 requires to evict the lmem objects to smem in order to
support d3cold-Off. if platform does not supports vram_sr
feature then fall back to d3hot by disabling
From: Anshuman Gupta
Adding intel_runtime_idle (runtime_idle callback) to prepare the
tageted D3 state.
Since we have introduced i915 runtime_idle callback.
It need to be warranted that Runtime PM Core invokes runtime_idle
callback when runtime usages count becomes zero. That requires
to use pm_
From: Tilak Tangudu
During runtime resume the display init sequence is called via
intel_display_power_resume() -> icl_display_core_init()
which should restore the display HW state. For restoring the DC9 enabled
state in DC_STATE_EN, gen9_sanitize_dc_state() should be called on the
runt
From: Tilak Tangudu
intel_guc_is_ready need to be guarded with rpm
helpers as it needs guc interaction.
Signed-off-by: Tilak Tangudu
---
drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/i915/gt/uc
From: Tilak Tangudu
1. Added D3Cold-Off support for runtime pm for discrete gpu.
2. LMEM is switched off and gpu is in off state in D3Cold-Off
so, lmem & GT deep suspend/resume is added.
3. Re-used i915_gem_backup_suspend, i915_gem_suspend_late
and i915_gem_resume to handle above
From: Tilak Tangudu
Guard intel_rc6_sanitize/intel_rc6_enable/intel_rc6_disable
rc6 helpers with is_intel_rpm_allowed as these
are called in intel_gt_resume/intel_gt_suspend_late.
Signed-off-by: Tilak Tangudu
---
drivers/gpu/drm/i915/gt/intel_rc6.c | 13 ++---
1 file changed, 10
From: Tilak Tangudu
Added is_intel_rpm_allowed function to query the runtime_pm
status and disllow during suspending and resuming.
v2: Return -2 if runtime pm is not allowed in runtime_pm_get
and skip wakeref release in runtime_pm_put if wakeref value
is -2. - Jani N
Signed-off-by: Tilak
Added lmem deep suspend/resume, which covers lmem
eviction and added GT/GUC deep suspend/resume
using i915_gem_backup_suspend, i915_gem_suspend_late
and i915_gem_resume.
Added HAS_D3COLD_OFF feature macro to use for
D3COLD OFF feature
Signed-off-by: Tilak Tangudu
---
drivers/gpu/drm/i915
Guard rpm helpers at gt_park/unpark with is_intel_rpm_allowed
to guard (gt/engine)_pm_(get/put)
Signed-off-by: Tilak Tangudu
---
drivers/gpu/drm/i915/gt/intel_engine_cs.c | 9 ++---
drivers/gpu/drm/i915/gt/intel_gt_pm.c | 10 ++
2 files changed, 12 insertions(+), 7 deletions
Add i915_save/load_pci_state helpers which saves
pci config state and restores the saved state.
Signed-off-by: Iddamsetty Aravind
Signed-off-by: Tilak Tangudu
---
drivers/gpu/drm/i915/i915_driver.c | 34 ++
drivers/gpu/drm/i915/i915_drv.h| 1 +
2 files changed
Guard rpm helpers in rpm_get/put with is_intel_rpm_allowed
to avoid rpm helpers in intel_engine/gt_pm_get/put
called from user_forcewake, intel_gt_resume, i915_ttm_accel_move
and intel_context_enter/exit_engine
Signed-off-by: Tilak Tangudu
---
drivers/gpu/drm/i915/intel_wakeref.c | 8
Guard intel_rc6_sanitize/intel_rc6_enable/intel_rc6_disable
rc6 helpers with is_intel_rpm_allowed as these
are called in intel_gt_resume/intel_gt_suspend_late.
Signed-off-by: Tilak Tangudu
---
drivers/gpu/drm/i915/gt/intel_rc6.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions
Guard rpm helpers in try_context_registration with
is_intel_rpm_allowed
Avoid rpm helpers in guc_init_engine_stats and
rpm helpers not needed at higher level functions.
as intel_guc_submission_enable is called from
intel_gt_init_hw (which already holds wakeref)
Signed-off-by: Tilak Tangudu
Guard rpm helpers in gt_sanitize and intel_gt_set_wedged
with is_intel_rpm_allowed
Acquire rpm wakeref for higherlevel function i915_gem_resume
Signed-off-by: Tilak Tangudu
---
drivers/gpu/drm/i915/gt/intel_gt_pm.c | 12 ++--
drivers/gpu/drm/i915/gt/intel_reset.c | 10
Added is_intel_rpm_allowed function to query the runtime_pm
status and disllow during suspending and resuming.
Signed-off-by: Tilak Tangudu
---
drivers/gpu/drm/i915/intel_runtime_pm.c | 15 +++
drivers/gpu/drm/i915/intel_runtime_pm.h | 1 +
2 files changed, 16 insertions(+)
diff
-i915_gem_driver_remove
-i915_drm_suspend_late(already holds rpm wakeref)
-do_suspend (already holds rpm wakeref)
Removed rpm helpers from intel_uc_suspend and
acquired rpm wakref from above high functions.
Signed-off-by: Tilak Tangudu
---
drivers/gpu/drm/i915/gt/intel_gt.c | 4 +++-
drivers/gpu
Removed rpm helpers from intel_guc_slpc_set_media_ratio_mode
and added rpm helpers at below high level functions.
-media_freq_factor_store
-intel_guc_slpc_enable via intel_gt_init_hw (already rpm wakeref is hold)
Signed-off-by: Tilak Tangudu
---
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c | 2
rpm helpers in intel_guc_submission_reset_finish
and added rpm helpers in below higher level functions,
- at intel_uc_reset_finish in reset_finish
- intel_gt_resume (already rpm wakeref is available)
Signed-off-by: Tilak Tangudu
---
drivers/gpu/drm/i915/gt/intel_reset.c | 4
o be included and is FIXME
Signed-off-by: Tilak Tangudu
Tilak Tangudu (11):
drm/i915: Avoid rpm helpers in intel_guc_global_policies_update
drm/i915: Avoid rpm helpers in intel_guc_slpc_set_media_ratio_mode
drm/i915: Avoid rpm helpers in intel_gt_suspend_late
drm/i915: Added is_intel_rpm_all
uot;)
Signed-off-by: Tilak Tangudu
---
drivers/gpu/drm/i915/intel_runtime_pm.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_runtime_pm.c
b/drivers/gpu/drm/i915/intel_runtime_pm.c
index 0d85f3c5c526..22dab36afcb6 100644
--- a/drivers/gpu/drm/i915/intel_runtime_pm
enable/disable in s2idle and runtime suspend/resume
flows.
Signed-off-by: Tilak Tangudu
---
drivers/gpu/drm/i915/i915_drv.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 46bf3315f616..af6868f12ef0 100644
v1: Enable runtime pm autosuspend by default for Gen12
and later versions.
v2: Enable runtime pm autosuspend by default for all
platforms(Syrjala Ville)
Signed-off-by: Tilak Tangudu
---
drivers/gpu/drm/i915/intel_runtime_pm.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu
Enable runtime pm autosuspend by default for all
platforms
Signed-off-by: Tilak Tangudu
Tilak Tangudu (1):
drm/i915/rpm: Enable runtime pm autosuspend by default
drivers/gpu/drm/i915/intel_runtime_pm.c | 3 +++
1 file changed, 3 insertions(+)
--
2.25.1
Enable runtime pm autosuspend by default
Signed-off-by: Tilak Tangudu
Tilak Tangudu (1):
drm/i915/rpm: Enable runtime pm autosuspend by default
drivers/gpu/drm/i915/intel_runtime_pm.c | 4
1 file changed, 4 insertions(+)
--
2.25.1
Enable runtime pm autosuspend by default.
Signed-off-by: Tilak Tangudu
---
drivers/gpu/drm/i915/intel_runtime_pm.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_runtime_pm.c
b/drivers/gpu/drm/i915/intel_runtime_pm.c
index eaf7688f517d..ef75f24288ef 100644
Enable runtime pm autosuspend by default for gen12 and
later versions.
Signed-off-by: Tilak Tangudu
---
drivers/gpu/drm/i915/intel_runtime_pm.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_runtime_pm.c
b/drivers/gpu/drm/i915/intel_runtime_pm.c
index
Enable runtime pm autosuspend by default for all Gen12
and Gen12+ platforms
Tilak Tangudu (1):
drm/i915/rpm: Enable runtime pm autosuspend by default
drivers/gpu/drm/i915/intel_runtime_pm.c | 4
1 file changed, 4 insertions(+)
--
2.25.1
29 matches
Mail list logo