[Intel-gfx] [PATCH 03/13] Xv: kill !textured condition

Daniel Vetter daniel.vetter at ffwll.ch
Tue Jun 30 13:12:45 CEST 2009


This is in the overlay path and therefore always true.

Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
 src/i830_video.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/i830_video.c b/src/i830_video.c
index f8bd4a2..e142fb5 100644
--- a/src/i830_video.c
+++ b/src/i830_video.c
@@ -1055,8 +1055,7 @@ I830StopVideo(ScrnInfoPtr pScrn, pointer data, Bool shutdown)
 	}
 
 	if (pPriv->buf) {
-	    if (!pPriv->textured)
-		drm_intel_bo_unpin(pPriv->buf);
+	    drm_intel_bo_unpin(pPriv->buf);
 	    drm_intel_bo_unreference(pPriv->buf);
 	    pPriv->buf = NULL;
 	    pPriv->videoStatus = 0;
-- 
1.6.3.3




More information about the Intel-gfx mailing list