]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add MGCG perfmon setting for gfx11
authorLikun Gao <Likun.Gao@amd.com>
Tue, 23 Aug 2022 07:34:10 +0000 (15:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Aug 2022 17:54:20 +0000 (13:54 -0400)
commitbd28f80aa1638429835746b5853adf839be0b642
tree67d5d3d90edb13cc8c375b285082f4c3a15c607c
parentbb5d6387c30804029cedbb768e4c19c1a7041a48
drm/amdgpu: add MGCG perfmon setting for gfx11

Enable GFX11 MGCG perfmon setting.
V2: set rlc to saft mode before setting.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
drivers/gpu/drm/amd/amdgpu/soc21.c