]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/amdgpu: Fix Vega20 Perf counter for pcie_bw
authorKent Russell <kent.russell@amd.com>
Mon, 15 Jul 2019 12:53:06 +0000 (08:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Jul 2019 18:08:51 +0000 (13:08 -0500)
commit9417f703afe3bf4e9c87342fb191d113ee83a818
tree6c389043159c0ccbeecb8146530b0df543d65545
parentca9db7d1e07237db81c81518d52241d33d72298f
drm/amdgpu: Fix Vega20 Perf counter for pcie_bw

The perf counter for Vega20 is 108, instead of 104 which it was on all
previous GPUs, so add a check to use the appropriate value.

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