Mesa (master): gallium/radeon: don't monitor SDMA busyness on EG/Cayman/SI
Marek Olšák
mareko at kemper.freedesktop.org
Mon Mar 6 13:13:09 UTC 2017
Module: Mesa
Branch: master
Commit: c416d8a3bcc085d13489da618c9169b343c226eb
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c416d8a3bcc085d13489da618c9169b343c226eb
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Feb 28 21:27:59 2017 +0100
gallium/radeon: don't monitor SDMA busyness on EG/Cayman/SI
It's always busy.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99955
Reviewed-by: Dave Airlie <airlied at redhat.com>
---
src/gallium/drivers/radeon/r600_gpu_load.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeon/r600_gpu_load.c b/src/gallium/drivers/radeon/r600_gpu_load.c
index 24f54c0..9697314 100644
--- a/src/gallium/drivers/radeon/r600_gpu_load.c
+++ b/src/gallium/drivers/radeon/r600_gpu_load.c
@@ -105,7 +105,7 @@ static void r600_update_mmio_counters(struct r600_common_screen *rscreen,
UPDATE_COUNTER(gui, GUI_ACTIVE);
gui_busy = GUI_ACTIVE(value);
- if (rscreen->chip_class >= EVERGREEN) {
+ if (rscreen->chip_class >= CIK) {
/* SRBM_STATUS2 */
rscreen->ws->read_registers(rscreen->ws, SRBM_STATUS2, 1, &value);
More information about the mesa-commit
mailing list