drm/amdgpu: Add amdgpu_gfx_off_ctrl function
[ Upstream commit d23ee13fba23a3039971a976b2c4857cb5ba9c73 ]
v2:
1. drop the special handling for the hw IP
suggested by hawking and Christian.
2. refine the variable name suggested by Flora.
This funciton as the entry of gfx off feature.
we arbitrat gfx off feature enable/disable in this
function.
Reviewed-by:
Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by:
Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by:
Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
Stable-dep-of: 2397e3d8d2e1 ("drm/amdgpu: add a missing lock for AMDGPU_SCHED")
Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment