Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37494
b: refs/heads/master
c: 8624ecb
h: refs/heads/master
v: v3
  • Loading branch information
Michel Dänzer authored and Dave Airlie committed Sep 21, 2006
1 parent c3ef3c5 commit 634d65a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9ca941615ee6418cd38c13602960f29c7ac7d973
refs/heads/master: 8624ecbf68e90e5a8124514a0b7f92767fb80a62
6 changes: 5 additions & 1 deletion trunk/drivers/char/drm/radeon_state.c
Original file line number Diff line number Diff line change
Expand Up @@ -2987,7 +2987,11 @@ static int radeon_cp_getparam(DRM_IOCTL_ARGS)
case RADEON_PARAM_GART_TEX_HANDLE:
value = dev_priv->gart_textures_offset;
break;

case RADEON_PARAM_SCRATCH_OFFSET:
if (!dev_priv->writeback_works)
return DRM_ERR(EINVAL);
value = RADEON_SCRATCH_REG_OFFSET;
break;
case RADEON_PARAM_CARD_TYPE:
if (dev_priv->flags & CHIP_IS_PCIE)
value = RADEON_CARD_PCIE;
Expand Down

0 comments on commit 634d65a

Please sign in to comment.