diff options
author | Maciej Cencora <m.cencora@gmail.com> | 2009-03-24 00:48:50 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-03-29 08:31:35 (GMT) |
commit | af7ae351ad63a137ece86740dbe3f181d09d810f (patch) | |
tree | 02029aee3f7c490fee81bcbc32119123e005ef54 /drivers/gpu/drm/radeon/radeon_cp.c | |
parent | d008877550d8ca8c6878dd494e50c1b9209f38d4 (diff) | |
download | linux-fsl-qoriq-af7ae351ad63a137ece86740dbe3f181d09d810f.tar.xz |
drm/radeon: add regs required for occlusion queries support
[airlied: cleaned up slightly for drm-next]
Signed-off-by: Maciej Cencora <m.cencora@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_cp.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_cp.c b/drivers/gpu/drm/radeon/radeon_cp.c index 6f579a8..77a7a4d 100644 --- a/drivers/gpu/drm/radeon/radeon_cp.c +++ b/drivers/gpu/drm/radeon/radeon_cp.c @@ -434,7 +434,7 @@ static void radeon_init_pipes(drm_radeon_private_t *dev_priv) if ((dev_priv->flags & RADEON_FAMILY_MASK) >= CHIP_RV515) { RADEON_WRITE_PLL(R500_DYN_SCLK_PWMEM_PIPE, (1 | ((gb_pipe_sel >> 8) & 0xf) << 4)); - RADEON_WRITE(R500_SU_REG_DEST, ((1 << dev_priv->num_gb_pipes) - 1)); + RADEON_WRITE(R300_SU_REG_DEST, ((1 << dev_priv->num_gb_pipes) - 1)); } RADEON_WRITE(R300_GB_TILE_CONFIG, gb_tile_config); radeon_do_wait_for_idle(dev_priv); |