Skip to content

Commit 937ed9c

Browse files
committed
drm/amdgpu: fix runpm documentation
It's not only supported by HG/PX laptops. It's supported by all dGPUs which supports BOCO/BACO functionality (runtime D3). BOCO - Bus Off, Chip Off. The entire chip is powered off. This is controlled by ACPI. BACO - Bus Active, Chip Off. The chip still shows up on the PCI bus, but the device itself is powered down. v2: fix missed HG/PX reference Reviewed-by: Evan Quan <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 11c9cc9 commit 937ed9c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,10 +331,11 @@ module_param_named(aspm, amdgpu_aspm, int, 0444);
331331

332332
/**
333333
* DOC: runpm (int)
334-
* Override for runtime power management control for dGPUs in PX/HG laptops. The amdgpu driver can dynamically power down
335-
* the dGPU on PX/HG laptops when it is idle. The default is -1 (auto enable). Setting the value to 0 disables this functionality.
334+
* Override for runtime power management control for dGPUs. The amdgpu driver can dynamically power down
335+
* the dGPUs when they are idle if supported. The default is -1 (auto enable).
336+
* Setting the value to 0 disables this functionality.
336337
*/
337-
MODULE_PARM_DESC(runpm, "PX runtime pm (2 = force enable with BAMACO, 1 = force enable with BACO, 0 = disable, -1 = PX only default)");
338+
MODULE_PARM_DESC(runpm, "PX runtime pm (2 = force enable with BAMACO, 1 = force enable with BACO, 0 = disable, -1 = auto)");
338339
module_param_named(runpm, amdgpu_runtime_pm, int, 0444);
339340

340341
/**

0 commit comments

Comments
 (0)