summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/drivers
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2021-05-25 05:53:45 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2021-05-25 05:53:45 +0000
commit214f3e93dd9c8aafeff21a007994dbcb323a081a (patch)
tree28d4b132452d68aa1dacd833730e7a8bf91db4fb /lib/mesa/src/gallium/drivers
parent38f7e0d13576b550122e3bd9a80990a87451a0bd (diff)
remove 'si_init_perfcounters: max_sh_per_se' warning
In drm from linux >= 5.9 renoir no longer uses the gpu info firmware and some reported hardware information changes. 'drm/amdgpu: use IP discovery table for renoir' c1cf79ca5ced46ea6a7843cbe98836e4d51c6c52 Remove warning which is known to be harmless https://gitlab.freedesktop.org/drm/amd/-/issues/1332 and was removed with mesa 20.2 in 'radeonsi/gfx10: implement most performance counters' 38a4b861459b02401d3ff71670218506e7acf019
Diffstat (limited to 'lib/mesa/src/gallium/drivers')
-rw-r--r--lib/mesa/src/gallium/drivers/radeonsi/si_perfcounter.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/mesa/src/gallium/drivers/radeonsi/si_perfcounter.c b/lib/mesa/src/gallium/drivers/radeonsi/si_perfcounter.c
index 974ac430c..0a9b31c9b 100644
--- a/lib/mesa/src/gallium/drivers/radeonsi/si_perfcounter.c
+++ b/lib/mesa/src/gallium/drivers/radeonsi/si_perfcounter.c
@@ -1301,13 +1301,6 @@ void si_init_perfcounters(struct si_screen *screen)
return; /* not implemented */
}
- if (screen->info.max_sh_per_se != 1) {
- /* This should not happen on non-GFX6 chips. */
- fprintf(stderr, "si_init_perfcounters: max_sh_per_se = %d not "
- "supported (inaccurate performance counters)\n",
- screen->info.max_sh_per_se);
- }
-
screen->perfcounters = pc = CALLOC_STRUCT(si_perfcounters);
if (!pc)
return;