]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Fix pcie_bw on Vega20
authorKent Russell <kent.russell@amd.com>
Wed, 31 Jul 2019 13:24:32 +0000 (09:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Aug 2019 15:18:58 +0000 (10:18 -0500)
commit07f55396141402d8b495c1cd4f75254c9e9e3283
treeb85f5ea36984f9695d873b0ca376189f7bdb556b
parent47054725a2a3522b1f9a784acf0c042f53acb6f8
drm/amdgpu: Fix pcie_bw on Vega20

The registers used for VG20 are different in that certain performance
counters were split off to TXCLK3/4. Vega10/12 doesn't have this, so add
a new vg20_get_pcie_usage to reflect this change.

Signed-off-by: Kent Russell <kent.russell@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c