drm/amdgpu: add gfx power gating for gfx10
authorHuang Rui <ray.huang@amd.com>
Tue, 22 Sep 2020 10:59:07 +0000 (18:59 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Oct 2020 19:15:28 +0000 (15:15 -0400)
commit3eb4c56422c7b8e3f567b2412d0c4f09f2899fb8
treeb6c0243f27d6f100442ab235cb59c5ad5bae736f
parent682b1f4c039db0f7eabf69735b038ddf0b94c73a
drm/amdgpu: add gfx power gating for gfx10

This patch adds power gating handler for gfx10.

v2: simplify function

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