Commit 2523e9d
committed
drm/vc4: crtc: Use an union to store the page flip callback
We'll need to extend the vc4_async_flip_state structure to rely on
another callback implementation, so let's move the current one into a
union.
Reviewed-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220610115149.964394-10-maxime@cerno.tech1 parent 257add9 commit 2523e9d
1 file changed
Lines changed: 14 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
775 | 775 | | |
776 | 776 | | |
777 | 777 | | |
778 | | - | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
779 | 781 | | |
780 | 782 | | |
781 | 783 | | |
782 | 784 | | |
783 | 785 | | |
784 | 786 | | |
785 | | - | |
| 787 | + | |
786 | 788 | | |
787 | | - | |
788 | | - | |
789 | 789 | | |
790 | 790 | | |
791 | 791 | | |
| |||
821 | 821 | | |
822 | 822 | | |
823 | 823 | | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
824 | 832 | | |
825 | 833 | | |
826 | 834 | | |
| |||
881 | 889 | | |
882 | 890 | | |
883 | 891 | | |
884 | | - | |
885 | | - | |
| 892 | + | |
| 893 | + | |
886 | 894 | | |
887 | 895 | | |
888 | 896 | | |
| |||
0 commit comments