summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-02-28 21:27:59 +0100
committerMarek Olšák <[email protected]>2017-03-06 14:13:04 +0100
commitc416d8a3bcc085d13489da618c9169b343c226eb (patch)
tree38848c7a772b8c24a26ad3d93b16acadbe919632
parent7e1faa79d31b44e3b3d7a4dc22d9b136300a761e (diff)
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 <[email protected]>
-rw-r--r--src/gallium/drivers/radeon/r600_gpu_load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/r600_gpu_load.c b/src/gallium/drivers/radeon/r600_gpu_load.c
index 24f54c0e68e..9697314081a 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);