drm/amdgpu:cg & pg shouldn't active on VF device
authorMonk Liu <Monk.Liu@amd.com>
Mon, 23 Jan 2017 02:49:33 +0000 (10:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:52:40 +0000 (23:52 -0400)
commitce137c04ff4bb7862a952e32d5200c301e620601
treed8901a2063274fded4040c711756556e93581637
parentcbabc8b343953e7bc6d70b5a22aaebbd73ae9934
drm/amdgpu:cg & pg shouldn't active on VF device

CG & PG function changes engine clock/gating, which is
not appropriate for VF device, because one vf doesn't know
the whole picture of engine's overall workload.

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c
drivers/gpu/drm/amd/amdgpu/vi.c