* [PATCH] xf86-video-ati: Fix non GLAMOR build
@ 2017-11-24 16:27 Joakim Tjernlund
[not found] ` <20171124162709.14749-1-joakim.tjernlund-27rvihrghlNWk0Htik3J/w@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Joakim Tjernlund @ 2017-11-24 16:27 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, michel-otUistvHUpPR7s880joybQ
Cc: Joakim Tjernlund
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@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) {
--
2.13.6
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] xf86-video-ati: Fix non GLAMOR build
[not found] ` <20171124162709.14749-1-joakim.tjernlund-27rvihrghlNWk0Htik3J/w@public.gmane.org>
@ 2017-11-27 10:15 ` Michel Dänzer
0 siblings, 0 replies; 2+ messages in thread
From: Michel Dänzer @ 2017-11-27 10:15 UTC (permalink / raw)
To: Joakim Tjernlund; +Cc: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
On 2017-11-24 05:27 PM, Joakim Tjernlund wrote:
> 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@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) {
>
Pushed (with the redundant prefix removed from the shortlog), thanks!
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-27 10:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-24 16:27 [PATCH] xf86-video-ati: Fix non GLAMOR build Joakim Tjernlund
[not found] ` <20171124162709.14749-1-joakim.tjernlund-27rvihrghlNWk0Htik3J/w@public.gmane.org>
2017-11-27 10:15 ` Michel Dänzer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.