summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-11-03 09:52:40 +1000
committerDave Airlie <airlied@redhat.com>2008-11-03 09:52:40 +1000
commitb7108445c9ebb37d06fcc7821e984124fda928f3 (patch)
treede0800600ff46df3a508e8eb72466c0c447a02b9
parent0e1df6216e7ce3a69d4311e4685613e57129285f (diff)
radeon: fix ROP values for the paint ROP
-rw-r--r--linux-core/radeon_buffer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-core/radeon_buffer.c b/linux-core/radeon_buffer.c
index 571a0b9c..f047b1ac 100644
--- a/linux-core/radeon_buffer.c
+++ b/linux-core/radeon_buffer.c
@@ -254,7 +254,8 @@ void radeon_emit_solid_fill(struct drm_device * dev,
RADEON_GMC_DST_CLIPPING |
RADEON_GMC_BRUSH_SOLID_COLOR |
(format << 8) |
- RADEON_ROP3_S |
+ RADEON_ROP3_P |
+ RADEON_CLR_CMP_SRC_SOURCE |
RADEON_GMC_CLR_CMP_CNTL_DIS | RADEON_GMC_WR_MSK_DIS);
OUT_RING((pitch << 22) | (dst_offset >> 10)); // PITCH
OUT_RING(0); // SC_TOP_LEFT // DST CLIPPING