<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
After finding out about this list, it seems like a good idea to send
this patch. The reply to my last one said that GX code was in bad
shape.<br>
<div class="moz-forward-container"><br>
<br>
-------- Forwarded Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject:
</th>
<td>[PATCH xf86-video-geode] Fix GX composite hooks</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
<td>Tue, 25 Aug 2015 23:32:29 -0400</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
<td>Connor Behan <a class="moz-txt-link-rfc2396E" href="mailto:connor.behan@gmail.com"><connor.behan@gmail.com></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">CC: </th>
<td>Connor Behan <a class="moz-txt-link-rfc2396E" href="mailto:connor.behan@gmail.com"><connor.behan@gmail.com></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>These need to fallback for solid and gradient pictures.
Signed-off-by: Connor Behan <a class="moz-txt-link-rfc2396E" href="mailto:connor.behan@gmail.com"><connor.behan@gmail.com></a>
---
src/gx_accel.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gx_accel.c b/src/gx_accel.c
index 48587f2..87d9a72 100644
--- a/src/gx_accel.c
+++ b/src/gx_accel.c
@@ -1710,6 +1710,7 @@ amd_gx_exa_PrepareComposite(int op, PicturePtr pSrc, PicturePtr pMsk,
PixmapPtr pxDst)
{
int srcPitch;
+ if (!pxSrc || !pSrc->pDrawable) return FALSE;
GeodeRec *pGeode = GEODEPTR_FROM_PIXMAP(pxDst);
amd_gx_exa_fmt_t *sfp, *dfp;
--
2.5.0
</pre>
<br>
</div>
<br>
</body>
</html>