]> 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)
commitadc93db2ea615a87b15540e468832a9a659ed5e8
treeb85f5ea36984f9695d873b0ca376189f7bdb556b
parent9d7ab7a7ebd274a5c80a0d845c10003516b5534c
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