]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: change read of GPU clock counter on Vega10 VF
authorEric Huang <JinhuiEric.Huang@amd.com>
Tue, 5 Nov 2019 21:29:57 +0000 (16:29 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Nov 2019 21:27:48 +0000 (16:27 -0500)
commitd60779af9ac759a18a9a3c700b02cb3909b9272f
treeb96cf5554d977ce7eeda73cbe42cc0566dc485af
parent961f7eeea3e3d7e0bae6fa91874a1a98cc8e3c10
drm/amdgpu: change read of GPU clock counter on Vega10 VF

Using unified VBIOS has performance drop in sriov environment.
The fix is switching to another register instead.

Signed-off-by: Eric Huang <JinhuiEric.Huang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c