Commit d186e51
drm/xe/vm: bugfix in xe_vm_create_ioctl
Fix xe_vm_create_ioctl routine not freeing the vm-id allocated to it
when the function fails.
Fixes: dd08ebf ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Signed-off-by: Moti Haimovski <mhaimovski@habana.ai>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Tomer Tayar <ttayar@habana.ai>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240122102424.4008095-1-mhaimovski@habana.ai
(cherry picked from commit f6bf042)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>1 parent c0e2508 commit d186e51
1 file changed
Lines changed: 14 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1855 | 1855 | | |
1856 | 1856 | | |
1857 | 1857 | | |
1858 | | - | |
1859 | | - | |
1860 | | - | |
1861 | | - | |
| 1858 | + | |
| 1859 | + | |
1862 | 1860 | | |
1863 | 1861 | | |
1864 | 1862 | | |
1865 | 1863 | | |
1866 | 1864 | | |
1867 | 1865 | | |
1868 | 1866 | | |
1869 | | - | |
1870 | | - | |
1871 | | - | |
1872 | | - | |
1873 | | - | |
| 1867 | + | |
| 1868 | + | |
| 1869 | + | |
1874 | 1870 | | |
1875 | 1871 | | |
1876 | 1872 | | |
| |||
1888 | 1884 | | |
1889 | 1885 | | |
1890 | 1886 | | |
| 1887 | + | |
| 1888 | + | |
| 1889 | + | |
| 1890 | + | |
| 1891 | + | |
| 1892 | + | |
| 1893 | + | |
| 1894 | + | |
| 1895 | + | |
1891 | 1896 | | |
1892 | 1897 | | |
1893 | 1898 | | |
| |||
0 commit comments