mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 17:40:11 +01:00
freedreno: Fix crashdec pre-a6xx.
We'd assert fail looking up the REM registers. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24358>
This commit is contained in:
parent
33f2726b97
commit
e9a6832a1b
1 changed files with 4 additions and 2 deletions
|
|
@ -345,8 +345,10 @@ dump_cmdstream(void)
|
|||
printf("got rb_base=%" PRIx64 "\n", rb_base);
|
||||
|
||||
options.ibs[1].base = regval64("CP_IB1_BASE");
|
||||
if (is_a6xx())
|
||||
options.ibs[1].rem = regval("CP_IB1_REM_SIZE");
|
||||
options.ibs[2].base = regval64("CP_IB2_BASE");
|
||||
if (is_a6xx())
|
||||
options.ibs[2].rem = regval("CP_IB2_REM_SIZE");
|
||||
|
||||
/* Adjust remaining size to account for cmdstream slurped into ROQ
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue