Commit 7b6f9ec
committed
drm/panthor: Fix sync-only jobs
A sync-only job is meant to provide a synchronization point on a
queue, so we can't return a NULL fence there, we have to add a signal
operation to the command stream which executes after all other
previously submitted jobs are done.
v2:
- Fixed a UAF bug
- Added R-bs
Fixes: de85488 ("drm/panthor: Add the scheduler logical block")
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Liviu Dudau <[email protected]>
Reviewed-by: Steven Price <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]1 parent 1a9a714 commit 7b6f9ec
File tree
2 files changed
+38
-11
lines changed- drivers/gpu/drm/panthor
- include/uapi/drm
2 files changed
+38
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
461 | 471 | | |
462 | 472 | | |
463 | 473 | | |
| |||
829 | 839 | | |
830 | 840 | | |
831 | 841 | | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
832 | 845 | | |
833 | 846 | | |
834 | 847 | | |
| |||
2784 | 2797 | | |
2785 | 2798 | | |
2786 | 2799 | | |
2787 | | - | |
2788 | | - | |
2789 | | - | |
2790 | 2800 | | |
2791 | 2801 | | |
2792 | 2802 | | |
| |||
2865 | 2875 | | |
2866 | 2876 | | |
2867 | 2877 | | |
2868 | | - | |
2869 | | - | |
| 2878 | + | |
| 2879 | + | |
| 2880 | + | |
2870 | 2881 | | |
2871 | | - | |
2872 | | - | |
| 2882 | + | |
| 2883 | + | |
| 2884 | + | |
| 2885 | + | |
2873 | 2886 | | |
2874 | 2887 | | |
2875 | 2888 | | |
| |||
2928 | 2941 | | |
2929 | 2942 | | |
2930 | 2943 | | |
| 2944 | + | |
| 2945 | + | |
| 2946 | + | |
| 2947 | + | |
2931 | 2948 | | |
2932 | 2949 | | |
2933 | 2950 | | |
| |||
3378 | 3395 | | |
3379 | 3396 | | |
3380 | 3397 | | |
3381 | | - | |
3382 | | - | |
3383 | | - | |
3384 | | - | |
| 3398 | + | |
| 3399 | + | |
| 3400 | + | |
| 3401 | + | |
| 3402 | + | |
| 3403 | + | |
| 3404 | + | |
| 3405 | + | |
| 3406 | + | |
3385 | 3407 | | |
3386 | 3408 | | |
3387 | 3409 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
802 | 802 | | |
803 | 803 | | |
804 | 804 | | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
805 | 808 | | |
806 | 809 | | |
807 | 810 | | |
| |||
822 | 825 | | |
823 | 826 | | |
824 | 827 | | |
| 828 | + | |
| 829 | + | |
825 | 830 | | |
826 | 831 | | |
827 | 832 | | |
| |||
0 commit comments