summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/r300.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-04-13 02:33:36 +0200
committerDave Airlie <airlied@redhat.com>2010-04-28 09:20:41 +0200
commit797fd5b9dad12a100c81b5782573a41259728cb1 (patch)
treed46a78d0af3ea8e99bd916c27748619d93bb054e /drivers/gpu/drm/radeon/r300.c
parentdrm/radeon: Fix sparc regression in r300_scratch() (diff)
downloadlinux-797fd5b9dad12a100c81b5782573a41259728cb1.tar.xz
linux-797fd5b9dad12a100c81b5782573a41259728cb1.zip
drm/radeon/kms: r300 fix CS checker to allow zbuffer-only fastfill
Signed-off-by: Marek Olšák <maraeo@gmail.com>
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/radeon/r300.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/r300.c b/drivers/gpu/drm/radeon/r300.c
index 6ec86fc2f474..ad0a0e6647c2 100644
--- a/drivers/gpu/drm/radeon/r300.c
+++ b/drivers/gpu/drm/radeon/r300.c
@@ -1043,7 +1043,7 @@ static int r300_packet0_check(struct radeon_cs_parser *p,
break;
case 0x4d1c:
/* ZB_BW_CNTL */
- track->fastfill = !!(idx_value & (1 << 2));
+ track->zb_cb_clear = !!(idx_value & (1 << 5));
break;
case 0x4e04:
/* RB3D_BLENDCNTL */