Re: [PATCH] drm/ttm: move bo->resource check in vm_access

2022-09-30 Thread Christian König
Am 30.09.22 um 17:39 schrieb Matthew Auld: Touching bo->resource looks like it should require first locking the object, since this state is dynamic and could potentially change from under us. Signed-off-by: Matthew Auld Cc: Christian König --- drivers/gpu/drm/ttm/ttm_bo_vm.c | 9 +

[PATCH] drm/ttm: move bo->resource check in vm_access

2022-09-30 Thread Matthew Auld
Touching bo->resource looks like it should require first locking the object, since this state is dynamic and could potentially change from under us. Signed-off-by: Matthew Auld Cc: Christian König --- drivers/gpu/drm/ttm/ttm_bo_vm.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-)