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)
commitf88e2d1f8ec40854c684d73ecf1cf66d4c6dad35
treeb96cf5554d977ce7eeda73cbe42cc0566dc485af
parent11c610893410b5d550629ce8d10006fdbc2812b4
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