aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2016-01-25 12:01:42 +0000
committerAlex Deucher <[email protected]>2016-02-10 19:17:03 +0000
commitfe6b2ad91fd3578d69ef07f0ba35a28c002034b6 (patch)
tree9ae3a6c2b7310e19519f59ce63101e789083c8e5 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentdrm/amdgpu: drop a dummy wakeup scheduler (diff)
downloadkernel-fe6b2ad91fd3578d69ef07f0ba35a28c002034b6.tar.gz
kernel-fe6b2ad91fd3578d69ef07f0ba35a28c002034b6.zip
drm/amdgpu: use WARN_ON_ONCE instead of BUG_ON in the SA
Crashing the system doesn't helps at all. Also properly return -EINVAL if size or alignment are outside valid ranges. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[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