Patchwork [2/2] drm/radeon: fix regression with AA resolve checking

login
register
mail settings
Submitter dann frazier
Date March 29, 2011, 9:23 p.m.
Message ID <1301433811-23737-3-git-send-email-dannf@debian.org>
Download mbox | patch
Permalink /patch/88916/
State New
Headers show

Comments

dann frazier - March 29, 2011, 9:23 p.m.
From: Dave Airlie <airlied@redhat.com>

Some userspaces can emit a whole packet without disabling AA resolve
by the looks of it, so we have to deal with them.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Tested-by: Jorg Otte <jrg.otte@googlemail.com>
---
 drivers/gpu/drm/radeon/r100.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c
index 2cfb39f..947570c 100644
--- a/drivers/gpu/drm/radeon/r100.c
+++ b/drivers/gpu/drm/radeon/r100.c
@@ -3031,7 +3031,7 @@  void r100_cs_track_clear(struct radeon_device *rdev, struct r100_cs_track *track
 		track->num_texture = 16;
 		track->maxy = 4096;
 		track->separate_cube = 0;
-		track->aaresolve = true;
+		track->aaresolve = false;
 		track->aa.robj = NULL;
 	}