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 17:20:41 +1000
commit797fd5b9dad12a100c81b5782573a41259728cb1 (patch)
treed46a78d0af3ea8e99bd916c27748619d93bb054e /drivers/gpu/drm/radeon/r300.c
parent88b045077a1462a47503137fd4ca0c31772819ca (diff)
downloadop-kernel-dev-797fd5b9dad12a100c81b5782573a41259728cb1.zip
op-kernel-dev-797fd5b9dad12a100c81b5782573a41259728cb1.tar.gz
drm/radeon/kms: r300 fix CS checker to allow zbuffer-only fastfill
Signed-off-by: Marek Olšák <maraeo@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r300.c')
-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 6ec86fc..ad0a0e6 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 */
OpenPOWER on IntegriCloud