OSDN Git Service

drm/amdgpu: Ctrl gfx off via amdgpu_gfx_off_ctrl
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 27 Jul 2018 06:55:09 +0000 (14:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:09:52 +0000 (11:09 -0500)
commit408acede8732bec629959f8628c46ab4517e3995
treea3482b1c10208e1c4c1b2dd843cdf34bed7dba43
parent1e317b99f0c244bd8830918fdae9715210baf4fe
drm/amdgpu: Ctrl gfx off via amdgpu_gfx_off_ctrl

use amdgpu_gfx_off_ctrl function so driver can arbitrate
whether the gfx ip can be power off or power on.

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c