<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - xf86-video-ati 7.10.0 with EXA acceleration GDM corruption unable to log into GNOME session"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102643#c24">Comment # 24</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - xf86-video-ati 7.10.0 with EXA acceleration GDM corruption unable to log into GNOME session"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102643">bug 102643</a>
from <span class="vcard"><a class="email" href="mailto:joakim.tjernlund@infinera.com" title="Joakim Tjernlund <joakim.tjernlund@infinera.com>"> <span class="fn">Joakim Tjernlund</span></a>
</span></b>
<pre>(In reply to Michel Dänzer from <a href="show_bug.cgi?id=102643#c23">comment #23</a>)
<span class="quote">> (In reply to Joakim Tjernlund from <a href="show_bug.cgi?id=102643#c22">comment #22</a>)
> > makes it build but no idea if it runs
>
> Looks good, can you send a patch generated with git format-patch (including
> your Signed-off-by line) to the amd-gfx mailing list?</span >
Done, pasting patch here as well:
>From a254b97bc25733cb025ae4014512dbd80d101301 Mon Sep 17 00:00:00 2001
From: Joakim Tjernlund <<a href="mailto:joakim.tjernlund@infinera.com">joakim.tjernlund@infinera.com</a>>
Date: Fri, 24 Nov 2017 17:22:16 +0100
Subject: [PATCH] xf86-video-ati: Fix non GLAMOR build
Non GLAMOR builds needs pRADEONEnt so move the USE_GLAMOR define
down to make pRADEONEnt defined in this case.
Signed-off-by: Joakim Tjernlund <<a href="mailto:joakim.tjernlund@infinera.com">joakim.tjernlund@infinera.com</a>>
---
src/radeon.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/radeon.h b/src/radeon.h
index d54e4990..3e04101c 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -712,9 +712,9 @@ uint32_t radeon_get_pixmap_tiling(PixmapPtr pPix);
static inline Bool radeon_set_pixmap_bo(PixmapPtr pPix, struct radeon_bo *bo)
{
-#ifdef USE_GLAMOR
ScrnInfoPtr scrn = xf86ScreenToScrn(pPix->drawable.pScreen);
RADEONEntPtr pRADEONEnt = RADEONEntPriv(scrn);
+#ifdef USE_GLAMOR
RADEONInfoPtr info = RADEONPTR(scrn);
if (info->use_glamor) {
--
2.13.6</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>