diff options
author | Dave Airlie <airlied@redhat.com> | 2008-02-07 00:01:05 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-02-07 00:13:40 -0500 |
commit | 3d5e2c13b13468f5eb2ac9323690af7e17f195fe (patch) | |
tree | c282c2a8413ca5096877360d86402df08bec6b3a /drivers/char/drm/radeon_state.c | |
parent | 576cc458a64673ecf3fa7f1bab751e52fd939071 (diff) |
drm: add initial r500 drm support
This adds CP support for the r500 series of chips, and allows
accel 2D support on these chips with a new radeon driver.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/char/drm/radeon_state.c')
-rw-r--r-- | drivers/char/drm/radeon_state.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/char/drm/radeon_state.c b/drivers/char/drm/radeon_state.c index 1dffdc3e7ef0..6f75512f591e 100644 --- a/drivers/char/drm/radeon_state.c +++ b/drivers/char/drm/radeon_state.c | |||
@@ -3034,6 +3034,9 @@ static int radeon_cp_getparam(struct drm_device *dev, void *data, struct drm_fil | |||
3034 | case RADEON_PARAM_VBLANK_CRTC: | 3034 | case RADEON_PARAM_VBLANK_CRTC: |
3035 | value = radeon_vblank_crtc_get(dev); | 3035 | value = radeon_vblank_crtc_get(dev); |
3036 | break; | 3036 | break; |
3037 | case RADEON_PARAM_FB_LOCATION: | ||
3038 | value = radeon_read_fb_location(dev_priv); | ||
3039 | break; | ||
3037 | default: | 3040 | default: |
3038 | DRM_DEBUG("Invalid parameter %d\n", param->param); | 3041 | DRM_DEBUG("Invalid parameter %d\n", param->param); |
3039 | return -EINVAL; | 3042 | return -EINVAL; |