drm/amdgpu: add GFX_PIPELINE capacity check for updating gfx cgpg
authorPrike Liang <Prike.Liang@amd.com>
Tue, 15 Oct 2019 09:24:25 +0000 (17:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Oct 2019 20:23:54 +0000 (16:23 -0400)
commitc8486eef2c095f2f986e4968b27b7a2043afc0e3
tree6da18d80db5bc6b2d660a512b06af7c4df086b21
parented4766022f88dfba871d9cc2975e834a32a16bb4
drm/amdgpu: add GFX_PIPELINE capacity check for updating gfx cgpg

Before disable gfx pipeline power gating need check the flag AMD_PG_SUPPORT_GFX_PIPELINE.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c