OSDN Git Service

drm/amdgpu: Put enable gfx off feature to a delay thread
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 27 Jul 2018 13:06:30 +0000 (21:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:09:52 +0000 (11:09 -0500)
commit1e317b99f0c244bd8830918fdae9715210baf4fe
tree1a58b47f1992f10d20c7d0ce21971ad1b993258b
parentd23ee13fba23a3039971a976b2c4857cb5ba9c73
drm/amdgpu: Put enable gfx off feature to a delay thread

delay to enable gfx off feature to avoid gfx on/off frequently
suggested by Alex and Evan.

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>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c