]> 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)
commit77734836ac6dec6ccf3d1fad1eef545690863418
treeb96cf5554d977ce7eeda73cbe42cc0566dc485af
parentb9f73d3f824eda95deecdec889cad29adcbaf010
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