mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
radeon: Fix loop en condition so debug output doesn't flood meaningless values.
This commit is contained in:
parent
e0e76edf97
commit
47d4b9ff70
1 changed files with 1 additions and 1 deletions
|
|
@ -952,7 +952,7 @@ static void radeon_print_state_atom(radeonContextPtr radeon, struct radeon_state
|
|||
if (DEBUG_CMDBUF > 1 && RADEON_DEBUG & DEBUG_VERBOSE) {
|
||||
if (dwords > state->cmd_size)
|
||||
dwords = state->cmd_size;
|
||||
for (i = 0; i < state->cmd_size;) {
|
||||
for (i = 0; i < dwords;) {
|
||||
packet0 = state->cmd[i];
|
||||
reg = (packet0 & 0x1FFF) << 2;
|
||||
count = ((packet0 & 0x3FFF0000) >> 16) + 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue