Commit fbeaad0
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 <niranjana.vishwanathapura@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20250529052031.2429120-2-niranjana.vishwanathapura@intel.com1 parent 4f296d7 commit fbeaad0
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 | |
|---|---|---|---|
| |||
909 | 909 | | |
910 | 910 | | |
911 | 911 | | |
912 | | - | |
913 | | - | |
914 | | - | |
915 | | - | |
| 912 | + | |
916 | 913 | | |
917 | 914 | | |
918 | 915 | | |
| |||
1007 | 1004 | | |
1008 | 1005 | | |
1009 | 1006 | | |
1010 | | - | |
| 1007 | + | |
1011 | 1008 | | |
1012 | 1009 | | |
1013 | 1010 | | |
| |||
1795 | 1792 | | |
1796 | 1793 | | |
1797 | 1794 | | |
1798 | | - | |
1799 | | - | |
1800 | | - | |
1801 | 1795 | | |
1802 | 1796 | | |
1803 | 1797 | | |
| |||
1819 | 1813 | | |
1820 | 1814 | | |
1821 | 1815 | | |
1822 | | - | |
1823 | 1816 | | |
1824 | 1817 | | |
1825 | 1818 | | |
1826 | 1819 | | |
1827 | 1820 | | |
1828 | 1821 | | |
1829 | | - | |
1830 | 1822 | | |
1831 | 1823 | | |
1832 | 1824 | | |
| |||
1846 | 1838 | | |
1847 | 1839 | | |
1848 | 1840 | | |
1849 | | - | |
1850 | | - | |
1851 | 1841 | | |
1852 | 1842 | | |
1853 | 1843 | | |
| |||
1900 | 1890 | | |
1901 | 1891 | | |
1902 | 1892 | | |
1903 | | - | |
1904 | | - | |
1905 | | - | |
1906 | | - | |
| 1893 | + | |
1907 | 1894 | | |
1908 | | - | |
1909 | | - | |
1910 | | - | |
| 1895 | + | |
1911 | 1896 | | |
1912 | 1897 | | |
1913 | 1898 | | |
| |||
0 commit comments