summaryrefslogtreecommitdiff
path: root/tools/intel_pm_rpm.c
AgeCommit message (Collapse)Author
2022-05-18tools/intel_pm_rpm: Add an option to setup d3coldAnshuman Gupta
Few PCI devices under DGFX card tree don't have any kernel driver. These devices will block D3cold state of gfx root port. Adding support to setup d3cold by enabling runtime PM for all PCI devices under the gfx root port. It will not save/restore pci devices power attributes. It will be useful to tune D3Cold after boot. v2: - Change naming convention from configure_autosuspend to setup-d3cold. [Rodrigo]. v3: - Kept setting auto-suspend delay as optional. [Rodrigo] Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2022-05-18tools: Add intel_pm_rpm toolAnshuman Gupta
intel_pm_rpm tool is a debug tool. It can be use to setup and prepare the gfx card to go to D3Cold. It also provide the debug option to disable all display and prepare device to enter to runtime suspend. v2: - Removed IS_DGFX() condition. v3: - Change naming convention from setup-d3cold to force-d3cold-wait disable-display to disable-display-wait. [Rodrigo] v4: - Use igt_setup_runtime_pm() only for --disable-display-wait. Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>