Commit 2b0a0ce
drm/xe: Create LRC BO without VM
Specifying VM during lrc->bo creation requires VM's reference
to be held for the lifetime of lrc->bo as it will use VM's dma
reservation object. Using VM's dma reservation object for
lrc->bo doesn't provide any advantage. Hence do not pass VM
while creating lrc->bo.
v2: Use xe_bo_unpin_map_no_vm (Matthew Brost)
Fixes: 264eecd ("drm/xe: Decouple xe_exec_queue and xe_lrc")
Signed-off-by: Niranjana Vishwanathapura <[email protected]>
Reviewed-by: Matthew Brost <[email protected]>
Reviewed-by: Maarten Lankhorst <[email protected]>
Signed-off-by: Matthew Brost <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
(cherry picked from commit fbeaad0)
Signed-off-by: Thomas Hellström <[email protected]>1 parent 2e82474 commit 2b0a0ce
2 files changed
+4
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | 135 | | |
142 | 136 | | |
143 | 137 | | |
| |||
146 | 140 | | |
147 | 141 | | |
148 | 142 | | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | 143 | | |
153 | 144 | | |
154 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
876 | 876 | | |
877 | 877 | | |
878 | 878 | | |
879 | | - | |
880 | | - | |
881 | | - | |
882 | | - | |
| 879 | + | |
883 | 880 | | |
884 | 881 | | |
885 | 882 | | |
| |||
914 | 911 | | |
915 | 912 | | |
916 | 913 | | |
917 | | - | |
| 914 | + | |
918 | 915 | | |
919 | 916 | | |
920 | 917 | | |
| |||
1676 | 1673 | | |
1677 | 1674 | | |
1678 | 1675 | | |
1679 | | - | |
1680 | | - | |
1681 | | - | |
1682 | 1676 | | |
1683 | 1677 | | |
1684 | 1678 | | |
| |||
1700 | 1694 | | |
1701 | 1695 | | |
1702 | 1696 | | |
1703 | | - | |
1704 | 1697 | | |
1705 | 1698 | | |
1706 | 1699 | | |
1707 | 1700 | | |
1708 | 1701 | | |
1709 | 1702 | | |
1710 | | - | |
1711 | 1703 | | |
1712 | 1704 | | |
1713 | 1705 | | |
| |||
1727 | 1719 | | |
1728 | 1720 | | |
1729 | 1721 | | |
1730 | | - | |
1731 | | - | |
1732 | 1722 | | |
1733 | 1723 | | |
1734 | 1724 | | |
| |||
1781 | 1771 | | |
1782 | 1772 | | |
1783 | 1773 | | |
1784 | | - | |
1785 | | - | |
1786 | | - | |
1787 | | - | |
| 1774 | + | |
1788 | 1775 | | |
1789 | | - | |
1790 | | - | |
1791 | | - | |
| 1776 | + | |
1792 | 1777 | | |
1793 | 1778 | | |
1794 | 1779 | | |
| |||
0 commit comments