https://github.com/torvalds/linux
Revision 6b7746e8768e1c550b320d5af761f73e5aa37f76 authored by Jerome Glisse on 20 February 2012, 22:57:20 UTC, committed by Dave Airlie on 22 February 2012, 10:30:02 UTC
If accel is not working many subsystem such as the ib pool might not be
initialized properly that can lead to segfault inside kernel when cs
ioctl is call with non working acceleration. To avoid this make sure
the accel working flag is false when an error in GPU startup happen and
return EBUSY from cs ioctl if accel is not working.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
1 parent f0d14da
History
Tip revision: 6b7746e8768e1c550b320d5af761f73e5aa37f76 authored by Jerome Glisse on 20 February 2012, 22:57:20 UTC
drm/radeon/kms: properly set accel working flag and bailout when false
Tip revision: 6b7746e
File Mode Size
Makefile -rw-r--r-- 559 bytes
inffast.c -rw-r--r-- 12.7 KB
inffast.h -rw-r--r-- 403 bytes
inffixed.h -rw-r--r-- 6.2 KB
inflate.c -rw-r--r-- 30.6 KB
inflate.h -rw-r--r-- 5.5 KB
inflate_syms.c -rw-r--r-- 447 bytes
inftrees.c -rw-r--r-- 13.0 KB
inftrees.h -rw-r--r-- 2.3 KB
infutil.c -rw-r--r-- 1.2 KB
infutil.h -rw-r--r-- 657 bytes

back to top