]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amdgpu: abstract the function of enter/exit safe mode for RLC
authorLikun Gao <Likun.Gao@amd.com>
Thu, 8 Nov 2018 12:19:54 +0000 (20:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Nov 2018 21:29:12 +0000 (16:29 -0500)
commit106c7d6148e5aadd394e6701f7e498df49b869d1
tree4ad91ee0536a5949138549cbac51b7f45dc6208b
parent88dfc9a3dd47027c9ffc831635e5cf4e8ed3b781
drm/amdgpu: abstract the function of enter/exit safe mode for RLC

Abstract the function of amdgpu_gfx_rlc_enter/exit_safe_mode and some part of
rlc_init to improve the reusability of RLC.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c
drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h
drivers/gpu/drm/amd/amdgpu/ci_dpm.c
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/amdgpu/kv_dpm.c
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_powertune.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c