Commit 1d9c54c
drm/vc4: plane: Use dlist offset instead of pointer
The current code passes the dlist pointer to vc4_plane_write_dlist to
tell where in the dlist RAM to store the plane dlist content.
In order to ease later changes, let's move that direct pointer to a base
offset from the start of the dlist RAM.
Signed-off-by: Maxime Ripard <[email protected]>1 parent 2fcefff commit 1d9c54c
3 files changed
+22
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
983 | 983 | | |
984 | 984 | | |
985 | 985 | | |
986 | | - | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
987 | 990 | | |
988 | 991 | | |
989 | 992 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
677 | 677 | | |
678 | 678 | | |
679 | 679 | | |
| 680 | + | |
680 | 681 | | |
681 | 682 | | |
682 | 683 | | |
683 | | - | |
684 | 684 | | |
685 | 685 | | |
686 | | - | |
687 | | - | |
| 686 | + | |
| 687 | + | |
688 | 688 | | |
689 | 689 | | |
690 | 690 | | |
| |||
696 | 696 | | |
697 | 697 | | |
698 | 698 | | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
699 | 702 | | |
700 | 703 | | |
701 | 704 | | |
| |||
706 | 709 | | |
707 | 710 | | |
708 | 711 | | |
709 | | - | |
710 | 712 | | |
711 | 713 | | |
712 | 714 | | |
713 | | - | |
| 715 | + | |
| 716 | + | |
714 | 717 | | |
715 | 718 | | |
716 | | - | |
| 719 | + | |
717 | 720 | | |
718 | 721 | | |
719 | 722 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1181 | 1181 | | |
1182 | 1182 | | |
1183 | 1183 | | |
1184 | | - | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
1185 | 1188 | | |
1186 | | - | |
| 1189 | + | |
1187 | 1190 | | |
1188 | 1191 | | |
1189 | | - | |
| 1192 | + | |
1190 | 1193 | | |
1191 | 1194 | | |
1192 | | - | |
1193 | | - | |
| 1195 | + | |
| 1196 | + | |
1194 | 1197 | | |
1195 | | - | |
| 1198 | + | |
1196 | 1199 | | |
1197 | 1200 | | |
1198 | 1201 | | |
| |||
0 commit comments