aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorSharat Masetty <[email protected]>2018-11-29 10:05:19 +0000
committerAlex Deucher <[email protected]>2018-12-05 22:56:16 +0000
commit9afd07566b6c908324cb4072102e2ce96bce986a (patch)
tree4f24cc18d4fa7684306aab44c062fb87d76b864f /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentdrm/amdgpu/acpi: NULL check before some freeing functions is not needed (diff)
downloadkernel-9afd07566b6c908324cb4072102e2ce96bce986a.tar.gz
kernel-9afd07566b6c908324cb4072102e2ce96bce986a.zip
drm/scheduler: Set sched->thread to NULL on failure
In cases where the scheduler instance is used as a base object of another driver object, it's not clear if the driver can call scheduler cleanup on the fail path. So, Set the sched->thread to NULL, so that the driver can safely call drm_sched_fini() during cleanup. Signed-off-by: Sharat Masetty <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions