Re: [PATCH] drm/ttm: Reorder sys manager cleanup step

2023-10-16 Thread Christian König
Am 16.10.23 um 14:15 schrieb Karolina Stolarek: With the current cleanup flow, we could trigger a NULL pointer dereference if there is a delayed destruction of a BO with a system resource that gets executed on drain_workqueue() call, as we attempt to free a resource using an already released reso

[PATCH] drm/ttm: Reorder sys manager cleanup step

2023-10-16 Thread Karolina Stolarek
With the current cleanup flow, we could trigger a NULL pointer dereference if there is a delayed destruction of a BO with a system resource that gets executed on drain_workqueue() call, as we attempt to free a resource using an already released resource manager. Remove the device from the device l