projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c289cff
)
drm/radeon/kms: fix tile_config value reported to userspace on cayman.
author
Dave Airlie
<
[email protected]
>
Thu, 19 May 2011 04:14:41 +0000
(14:14 +1000)
committer
Dave Airlie
<
[email protected]
>
Sun, 22 May 2011 10:28:10 +0000
(20:28 +1000)
cayman is reporting the wrong tile config value to userspace, this
causes piglit mipmap generation tests to fail.
Reviewed-by: Alex Deucher <
[email protected]
>
cc:
[email protected]
Signed-off-by: Dave Airlie <
[email protected]
>
drivers/gpu/drm/radeon/ni.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/ni.c
b/drivers/gpu/drm/radeon/ni.c
index 4e30e9ebd17c5bf54d06f18b528a9a356e375652..a0cc7a5ff03136e8aedea35d61610412a7dbee89 100644
(file)
--- a/
drivers/gpu/drm/radeon/ni.c
+++ b/
drivers/gpu/drm/radeon/ni.c
@@
-829,7
+829,7
@@
static void cayman_gpu_init(struct radeon_device *rdev)
rdev->config.cayman.tile_config |=
((mc_arb_ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT) << 4;
rdev->config.cayman.tile_config |=
- (
gb_addr_config & PIPE_INTERLEAVE_SIZE_MASK) >> PIPE_INTERLEAVE_SIZE_SHIFT
;
+ (
(gb_addr_config & PIPE_INTERLEAVE_SIZE_MASK) >> PIPE_INTERLEAVE_SIZE_SHIFT) << 8
;
rdev->config.cayman.tile_config |=
((gb_addr_config & ROW_SIZE_MASK) >> ROW_SIZE_SHIFT) << 12;