diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-05-04 01:28:02 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-05-04 02:16:40 +0200 |
commit | 8aeb96f80232e9a701b5c4715504f4c9173978bd (patch) | |
tree | 59852e4f90221689eef0ed0ae8b7ff51e598b90a /drivers/gpu/drm/radeon/radeon_kms.c | |
parent | drm: Send pending vblank events before disabling vblank. (diff) | |
download | linux-8aeb96f80232e9a701b5c4715504f4c9173978bd.tar.xz linux-8aeb96f80232e9a701b5c4715504f4c9173978bd.zip |
drm/radeon/kms: fix gart setup on fusion parts (v2)
Out of the entire GART/VM subsystem, the hw designers changed
the location of 3 regs.
v2: airlied: add parameter for userspace to work from.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_kms.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_kms.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_kms.c b/drivers/gpu/drm/radeon/radeon_kms.c index 871df0376b1c..bd58af658581 100644 --- a/drivers/gpu/drm/radeon/radeon_kms.c +++ b/drivers/gpu/drm/radeon/radeon_kms.c @@ -234,6 +234,9 @@ int radeon_info_ioctl(struct drm_device *dev, void *data, struct drm_file *filp) return -EINVAL; } break; + case RADEON_INFO_FUSION_GART_WORKING: + value = 1; + break; default: DRM_DEBUG_KMS("Invalid request %d\n", info->request); return -EINVAL; |