drm/radeon/kms: don't fail if we fail to init GPU acceleration
authorJerome Glisse <jglisse@redhat.com>
Wed, 16 Sep 2009 13:24:21 +0000 (15:24 +0200)
committerDave Airlie <airlied@redhat.com>
Fri, 18 Sep 2009 06:01:57 +0000 (16:01 +1000)
commit733289c2656c556d5cf36eafa1c8ec77222c359f
treebb4df1305a867baf63fba27620d6f8c0f68db1a4
parent7cbb355e947b3b426cefd9a3dc0dda3af9f9345a
drm/radeon/kms: don't fail if we fail to init GPU acceleration

Userspace can query if acceleration is working or not true get
info ioctl and could fallback to software if for some reason
kernel failed to initialize KMS. This should allow to give a
working KMS setup in all case (even with non functionning accel).

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r420.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/drm/radeon/radeon_kms.c
drivers/gpu/drm/radeon/rv770.c
include/drm/radeon_drm.h