diff options
author | Jerome Glisse <jglisse@redhat.com> | 2009-09-16 09:24:21 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-09-18 02:01:57 -0400 |
commit | 733289c2656c556d5cf36eafa1c8ec77222c359f (patch) | |
tree | bb4df1305a867baf63fba27620d6f8c0f68db1a4 /drivers/gpu/drm/radeon/radeon.h | |
parent | 7cbb355e947b3b426cefd9a3dc0dda3af9f9345a (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 5bfc05612ac2..d7c4efd08928 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
@@ -793,6 +793,7 @@ struct radeon_device { | |||
793 | bool suspend; | 793 | bool suspend; |
794 | bool need_dma32; | 794 | bool need_dma32; |
795 | bool new_init_path; | 795 | bool new_init_path; |
796 | bool accel_working; | ||
796 | struct radeon_surface_reg surface_regs[RADEON_GEM_MAX_SURFACES]; | 797 | struct radeon_surface_reg surface_regs[RADEON_GEM_MAX_SURFACES]; |
797 | const struct firmware *me_fw; /* all family ME firmware */ | 798 | const struct firmware *me_fw; /* all family ME firmware */ |
798 | const struct firmware *pfp_fw; /* r6/700 PFP firmware */ | 799 | const struct firmware *pfp_fw; /* r6/700 PFP firmware */ |