Commit 2ffba44
committed
drm/asahi: Identify and allocate clustered layering metadata buf
Turns out multi-cluster machines also need a clustered buffer for
layered rendering.
Fixes layered rendering on G13X with barriers (I guess if you don't
flush memory this stays in some kind of cache and somehow doesn't
matter?).
Signed-off-by: Asahi Lina <lina@asahilina.net>1 parent 0ae8bbb commit 2ffba44
3 files changed
Lines changed: 25 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
| |||
208 | 210 | | |
209 | 211 | | |
210 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
211 | 222 | | |
212 | 223 | | |
213 | 224 | | |
214 | 225 | | |
215 | 226 | | |
216 | 227 | | |
217 | | - | |
| 228 | + | |
218 | 229 | | |
219 | 230 | | |
220 | 231 | | |
| |||
585 | 596 | | |
586 | 597 | | |
587 | 598 | | |
| 599 | + | |
588 | 600 | | |
589 | 601 | | |
590 | 602 | | |
591 | 603 | | |
592 | 604 | | |
593 | 605 | | |
594 | 606 | | |
| 607 | + | |
595 | 608 | | |
596 | 609 | | |
597 | 610 | | |
598 | 611 | | |
599 | 612 | | |
600 | 613 | | |
601 | 614 | | |
602 | | - | |
| 615 | + | |
603 | 616 | | |
604 | 617 | | |
605 | 618 | | |
| |||
685 | 698 | | |
686 | 699 | | |
687 | 700 | | |
688 | | - | |
689 | | - | |
690 | | - | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
691 | 705 | | |
692 | 706 | | |
693 | 707 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1307 | 1307 | | |
1308 | 1308 | | |
1309 | 1309 | | |
1310 | | - | |
| 1310 | + | |
1311 | 1311 | | |
1312 | 1312 | | |
1313 | 1313 | | |
| |||
1400 | 1400 | | |
1401 | 1401 | | |
1402 | 1402 | | |
1403 | | - | |
1404 | | - | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
1405 | 1407 | | |
1406 | 1408 | | |
1407 | 1409 | | |
| |||
0 commit comments