public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in x11-drivers/xf86-video-ati/files: xf86-video-ati-7.0.0-r300-ring-count.patch xf86-video-ati-6.14.4-exa-solid-accel-evergreen.patch xf86-video-ati-6.14.4-exa-solid-accel-r200.patch xf86-video-ati-6.14.4-exa-solid-accel-r100.patch xf86-video-ati-6.14.0-xorg-server-1.10.patch xf86-video-ati-6.14.4-exa-solid-accel-r300.patch
@ 2013-01-08 17:33 Chi-Thanh Christopher Nguyen (chithanh)
  0 siblings, 0 replies; only message in thread
From: Chi-Thanh Christopher Nguyen (chithanh) @ 2013-01-08 17:33 UTC (permalink / raw
  To: gentoo-commits

chithanh    13/01/08 17:33:58

  Added:                xf86-video-ati-7.0.0-r300-ring-count.patch
  Removed:             
                        xf86-video-ati-6.14.4-exa-solid-accel-evergreen.patch
                        xf86-video-ati-6.14.4-exa-solid-accel-r200.patch
                        xf86-video-ati-6.14.4-exa-solid-accel-r100.patch
                        xf86-video-ati-6.14.0-xorg-server-1.10.patch
                        xf86-video-ati-6.14.4-exa-solid-accel-r300.patch
  Log:
  Add patch to fix r300 xv issues, bug #446285.
  
  (Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.1                  x11-drivers/xf86-video-ati/files/xf86-video-ati-7.0.0-r300-ring-count.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-ati/files/xf86-video-ati-7.0.0-r300-ring-count.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-ati/files/xf86-video-ati-7.0.0-r300-ring-count.patch?rev=1.1&content-type=text/plain

Index: xf86-video-ati-7.0.0-r300-ring-count.patch
===================================================================
From 793e1b0ea579cce7489aee57a95f20384d6ecce8 Mon Sep 17 00:00:00 2001
From: Alex Deucher <alexdeucher@gmail.com>
Date: Thu, 06 Dec 2012 14:21:19 +0000
Subject: radeon: fix ring count in R300PrepareTexturedVideo

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=31364

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
---
diff --git a/src/radeon_textured_videofuncs.c b/src/radeon_textured_videofuncs.c
index d30f734..c1bdc65 100644
--- a/src/radeon_textured_videofuncs.c
+++ b/src/radeon_textured_videofuncs.c
@@ -1686,7 +1686,7 @@ R300PrepareTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv)
 	}
 
 	if (pPriv->is_planar) {
-	    BEGIN_RING(2*needgamma ? 28 + 33 : 33);
+	    BEGIN_RING(2 * (needgamma ? (28 + 33) : 33));
 	    /* 2 components: same 2 for tex0/1/2 */
 	    OUT_RING_REG(R300_RS_COUNT,
 			  ((2 << R300_RS_COUNT_IT_COUNT_SHIFT) |
@@ -1910,7 +1910,7 @@ R300PrepareTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv)
 							  R300_ALU_ALPHA_SEL_C(R300_ALU_ALPHA_0_0)));
 	    }
 	} else {
-	    BEGIN_RING(2*needgamma ? 28 + 31 : 31);
+	    BEGIN_RING(2 * (needgamma ? (28 + 31) : 31));
 	    /* 2 components */
 	    OUT_RING_REG(R300_RS_COUNT,
 			  ((2 << R300_RS_COUNT_IT_COUNT_SHIFT) |
--
cgit v0.9.0.2-2-gbebe





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-08 17:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-08 17:33 [gentoo-commits] gentoo-x86 commit in x11-drivers/xf86-video-ati/files: xf86-video-ati-7.0.0-r300-ring-count.patch xf86-video-ati-6.14.4-exa-solid-accel-evergreen.patch xf86-video-ati-6.14.4-exa-solid-accel-r200.patch xf86-video-ati-6.14.4-exa-solid-accel-r100.patch xf86-video-ati-6.14.0-xorg-server-1.10.patch xf86-video-ati-6.14.4-exa-solid-accel-r300.patch Chi-Thanh Christopher Nguyen (chithanh)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox