diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-06-04 01:00:03 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-06-08 01:34:42 +0200 |
commit | 148a03bc0b0e3ef153d0cade7bc88e9b14edfb7a (patch) | |
tree | ec5cf10676d6f69848952f6a89b475eb664333e2 /include | |
parent | drm/vmwgfx: return -EFAULT for copy_to_user errors (diff) | |
download | linux-148a03bc0b0e3ef153d0cade7bc88e9b14edfb7a.tar.xz linux-148a03bc0b0e3ef153d0cade7bc88e9b14edfb7a.zip |
drm/radeon/kms/evergreen: set accel_enabled
This is needed to enable accel in the ddx. However,
due to a bug in older versions of the ddx, it relies
on accel being disabled in order to load properly on
evergreen chips. To maintain compatility, we add a new
get accel param and call that from the ddx. The old one
always returns false for evergreen cards.
[this fixes a regression with older userspaces on newer kernels].
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/drm/radeon_drm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/radeon_drm.h b/include/drm/radeon_drm.h index 3ff9fc071dfe..5347063e9d5a 100644 --- a/include/drm/radeon_drm.h +++ b/include/drm/radeon_drm.h @@ -903,6 +903,7 @@ struct drm_radeon_cs { #define RADEON_INFO_NUM_Z_PIPES 0x02 #define RADEON_INFO_ACCEL_WORKING 0x03 #define RADEON_INFO_CRTC_FROM_ID 0x04 +#define RADEON_INFO_ACCEL_WORKING2 0x05 struct drm_radeon_info { uint32_t request; |