aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/radeon_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/radeon_state.c')
-rw-r--r--drivers/char/drm/radeon_state.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/char/drm/radeon_state.c b/drivers/char/drm/radeon_state.c
index 6f75512f591e..eee135712403 100644
--- a/drivers/char/drm/radeon_state.c
+++ b/drivers/char/drm/radeon_state.c
@@ -3037,6 +3037,9 @@ static int radeon_cp_getparam(struct drm_device *dev, void *data, struct drm_fil
3037 case RADEON_PARAM_FB_LOCATION: 3037 case RADEON_PARAM_FB_LOCATION:
3038 value = radeon_read_fb_location(dev_priv); 3038 value = radeon_read_fb_location(dev_priv);
3039 break; 3039 break;
3040 case RADEON_PARAM_NUM_GB_PIPES:
3041 value = dev_priv->num_gb_pipes;
3042 break;
3040 default: 3043 default:
3041 DRM_DEBUG("Invalid parameter %d\n", param->param); 3044 DRM_DEBUG("Invalid parameter %d\n", param->param);
3042 return -EINVAL; 3045 return -EINVAL;