]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: enable gfx clock gatings for navi12
authorXiaojie Yuan <xiaojie.yuan@amd.com>
Tue, 30 Jul 2019 03:28:20 +0000 (11:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Aug 2019 17:47:47 +0000 (12:47 -0500)
commit4c3caa52c79b627b01d63aa425d500497da71ce3
tree9d802495ad8d0b7dfcb7f56fe036e1b46772ff3e
parent5d5c5d367d59d95e79223353f3db13e6726980c6
drm/amdgpu: enable gfx clock gatings for navi12

enables following gfx clock gating features:

- medium grained clock gating
- medium grained light sleep
- coarse grained clock gating
- cp memory light sleep
- rlc memory light sleep

CGLS (Coarse Grained Light Sleep) will break s3, so don't enable it.

Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c