gallium/radeon: don't monitor SDMA busyness on EG/Cayman/SI
authorMarek Olšák <marek.olsak@amd.com>
Tue, 28 Feb 2017 20:27:59 +0000 (21:27 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 6 Mar 2017 13:13:04 +0000 (14:13 +0100)
It's always busy.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99955

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/radeon/r600_gpu_load.c

index 24f54c0e68e1c5ebe0dbc5df412e4e52527b6391..9697314081acec0100ab861495944f8a608cc6db 100644 (file)
@@ -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);