aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_state.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_state.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_state.c b/drivers/gpu/drm/radeon/radeon_state.c
index ef940a079dcb..03fea43dae75 100644
--- a/drivers/gpu/drm/radeon/radeon_state.c
+++ b/drivers/gpu/drm/radeon/radeon_state.c
@@ -3010,14 +3010,14 @@ static int radeon_cp_getparam(struct drm_device *dev, void *data, struct drm_fil
3010 break; 3010 break;
3011 case RADEON_PARAM_LAST_FRAME: 3011 case RADEON_PARAM_LAST_FRAME:
3012 dev_priv->stats.last_frame_reads++; 3012 dev_priv->stats.last_frame_reads++;
3013 value = GET_SCRATCH(0); 3013 value = GET_SCRATCH(dev_priv, 0);
3014 break; 3014 break;
3015 case RADEON_PARAM_LAST_DISPATCH: 3015 case RADEON_PARAM_LAST_DISPATCH:
3016 value = GET_SCRATCH(1); 3016 value = GET_SCRATCH(dev_priv, 1);
3017 break; 3017 break;
3018 case RADEON_PARAM_LAST_CLEAR: 3018 case RADEON_PARAM_LAST_CLEAR:
3019 dev_priv->stats.last_clear_reads++; 3019 dev_priv->stats.last_clear_reads++;
3020 value = GET_SCRATCH(2); 3020 value = GET_SCRATCH(dev_priv, 2);
3021 break; 3021 break;
3022 case RADEON_PARAM_IRQ_NR: 3022 case RADEON_PARAM_IRQ_NR:
3023 value = drm_dev_to_irq(dev); 3023 value = drm_dev_to_irq(dev);