[Bug 102643] xf86-video-ati 7.10.0 with EXA acceleration GDM corruption unable to log into GNOME session

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Nov 24 16:28:21 UTC 2017


--- Comment #24 from Joakim Tjernlund <joakim.tjernlund at infinera.com> ---
(In reply to Michel Dänzer from comment #23)
> (In reply to Joakim Tjernlund from comment #22)
> > 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?

Done, pasting patch here as well:

>From a254b97bc25733cb025ae4014512dbd80d101301 Mon Sep 17 00:00:00 2001
From: Joakim Tjernlund <joakim.tjernlund at infinera.com>
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 <joakim.tjernlund at infinera.com>
 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) {

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg-driver-ati/attachments/20171124/3b8f06b7/attachment-0001.html>

More information about the xorg-driver-ati mailing list