]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amdgpu: refactoring the runtime pm mode detection code
authorMa Jun <Jun.Ma2@amd.com>
Wed, 27 Mar 2024 07:18:40 +0000 (15:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Apr 2024 02:39:16 +0000 (22:39 -0400)
commit1347853271ed3ec85dd42586fa31f746664504e7
tree73426fe99ed9864eced603701f5ca2830563c3b6
parent6c6acc5f33ab727cfb6fe88cf3d96ca9c67cac5b
drm/amdgpu: refactoring the runtime pm mode detection code

refactor the code of runtime pm mode detection to support
amdgpu_runtime_pm =2 and 1 two cases

Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c