mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 02:10:12 +01:00
radeonsi/gfx9: don't read back non-existent register SRBM_STATUS2
It looks like there is no way to monitor SDMA busyness on GFX9. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
5fb80a1e84
commit
d0963ef084
1 changed files with 1 additions and 1 deletions
|
|
@ -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 >= CIK) {
|
||||
if (rscreen->chip_class == CIK || rscreen->chip_class == VI) {
|
||||
/* SRBM_STATUS2 */
|
||||
rscreen->ws->read_registers(rscreen->ws, SRBM_STATUS2, 1, &value);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue