summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/core/subdev/fb
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-10-30 03:55:13 (GMT)
committerBen Skeggs <bskeggs@redhat.com>2012-11-28 23:56:34 (GMT)
commit7ef19e454ee832ac8fd7c35329d5e86679d337b2 (patch)
treebb4b683a492a70d797a9f1735c308a3f91b5b9e4 /drivers/gpu/drm/nouveau/core/subdev/fb
parentd7da62845be013171b5a3807214bc63874d89bb3 (diff)
downloadlinux-fsl-qoriq-7ef19e454ee832ac8fd7c35329d5e86679d337b2.tar.xz
drm/nv40/fb: use an actual compressed zeta format
SPLIT is apparently just that, and only splits Z and S components. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/subdev/fb')
-rw-r--r--drivers/gpu/drm/nouveau/core/subdev/fb/nv40.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/nv40.c b/drivers/gpu/drm/nouveau/core/subdev/fb/nv40.c
index fe7e298..65e131b 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/fb/nv40.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/fb/nv40.c
@@ -54,7 +54,7 @@ nv40_fb_tile_comp(struct nouveau_fb *pfb, int i, u32 size, u32 flags,
u32 tags = round_up(tiles / pfb->ram.parts, 0x100);
if ( (flags & 2) &&
!nouveau_mm_head(&pfb->tags, 1, tags, tags, 1, &tile->tag)) {
- tile->zcomp = 0x24000000; /* Z24S8_SPLIT */
+ tile->zcomp = 0x28000000; /* Z24S8_SPLIT_GRAD */
tile->zcomp |= ((tile->tag->offset ) >> 8);
tile->zcomp |= ((tile->tag->offset + tags - 1) >> 8) << 13;
#ifdef __BIG_ENDIAN