Skip to content

Commit

Permalink
drm/rs690: set base 2 to 0.
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Dave Airlie authored and Dave Airlie committed Jun 19, 2008
1 parent fa0d71b commit 3722bfc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/char/drm/radeon_cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,8 @@ static void radeon_set_rs690gart(drm_radeon_private_t *dev_priv, int on)
RS690_WRITE_MCIND(RS690_MC_AGP_BASE,
(unsigned int)dev_priv->gart_vm_start);

RS690_WRITE_MCIND(RS690_MC_AGP_BASE_2, 0);

dev_priv->gart_size = 32*1024*1024;
temp = (((dev_priv->gart_vm_start - 1 + dev_priv->gart_size) &
0xffff0000) | (dev_priv->gart_vm_start >> 16));
Expand Down
1 change: 1 addition & 0 deletions drivers/char/drm/radeon_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,7 @@ extern int r300_do_cp_cmdbuf(struct drm_device * dev,
#define RS690_MC_FB_LOCATION 0x100
#define RS690_MC_AGP_LOCATION 0x101
#define RS690_MC_AGP_BASE 0x102
#define RS690_MC_AGP_BASE_2 0x103

#define R520_MC_IND_INDEX 0x70
#define R520_MC_IND_WR_EN (1<<24)
Expand Down

0 comments on commit 3722bfc

Please sign in to comment.