diff options
author | Jerome Glisse <jglisse@redhat.com> | 2009-09-16 13:24:21 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-09-18 06:01:57 (GMT) |
commit | 733289c2656c556d5cf36eafa1c8ec77222c359f (patch) | |
tree | bb4df1305a867baf63fba27620d6f8c0f68db1a4 /drivers/gpu/drm/radeon/radeon.h | |
parent | 7cbb355e947b3b426cefd9a3dc0dda3af9f9345a (diff) | |
download | linux-fsl-qoriq-733289c2656c556d5cf36eafa1c8ec77222c359f.tar.xz |
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 5bfc056..d7c4efd 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -793,6 +793,7 @@ struct radeon_device { bool suspend; bool need_dma32; bool new_init_path; + bool accel_working; struct radeon_surface_reg surface_regs[RADEON_GEM_MAX_SURFACES]; const struct firmware *me_fw; /* all family ME firmware */ const struct firmware *pfp_fw; /* r6/700 PFP firmware */ |