Commit cb343de
drm/vmwgfx: Unreserve BO on error
Unlock BOs in reverse order.
Add an acquire context so that lockdep doesn't complain.
Fixes: d6667f0 ("drm/vmwgfx: Fix handling of dumb buffers")
Signed-off-by: Ian Forbes <[email protected]>
Signed-off-by: Zack Rusin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]1 parent 1f9910b commit cb343de
1 file changed
+15
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
750 | 750 | | |
751 | 751 | | |
752 | 752 | | |
| 753 | + | |
753 | 754 | | |
754 | 755 | | |
755 | 756 | | |
| |||
769 | 770 | | |
770 | 771 | | |
771 | 772 | | |
| 773 | + | |
| 774 | + | |
772 | 775 | | |
773 | 776 | | |
774 | | - | |
| 777 | + | |
775 | 778 | | |
776 | 779 | | |
777 | 780 | | |
778 | 781 | | |
779 | 782 | | |
780 | 783 | | |
781 | 784 | | |
782 | | - | |
783 | | - | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
784 | 791 | | |
| 792 | + | |
785 | 793 | | |
786 | 794 | | |
787 | 795 | | |
| |||
803 | 811 | | |
804 | 812 | | |
805 | 813 | | |
806 | | - | |
807 | | - | |
808 | 814 | | |
809 | 815 | | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
810 | 820 | | |
811 | 821 | | |
812 | 822 | | |
| |||
0 commit comments