All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH xf86-video-ati 1/4] glamor: Allow depth 30 with Xorg >= 1.19.99.1
@ 2018-02-14 17:49 Michel Dänzer
       [not found] ` <20180214174930.5086-1-michel-otUistvHUpPR7s880joybQ@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Michel Dänzer @ 2018-02-14 17:49 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

From: Michel Dänzer <michel.daenzer@amd.com>

Corresponding to amdgpu commit 6aee5770fb913713bb1b9a1af8f0d0892a66f21a.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
---
 man/radeon.man   | 2 +-
 src/radeon_kms.c | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/man/radeon.man b/man/radeon.man
index 889355bbb..dcebf5375 100644
--- a/man/radeon.man
+++ b/man/radeon.man
@@ -19,7 +19,7 @@ following features:
 .TP 2
 \(bu
 Full support for 8-, 15-, 16- and 24-bit pixel depths, and for 30-bit depth on Linux 3.16
-and later with EXA acceleration;
+and later;
 .TP
 \(bu
 RandR 1.2 and RandR 1.3 support;
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index bac98cb6e..25b889a67 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -1767,7 +1767,8 @@ Bool RADEONPreInit_KMS(ScrnInfoPtr pScrn, int flags)
     if (!RADEONPreInitAccel_KMS(pScrn))              goto fail;
 
     /* Depth 30 not yet supported under glamor. */
-    if (pScrn->depth == 30 && info->use_glamor) {
+    if (pScrn->depth == 30 && info->use_glamor &&
+	xorgGetVersion() < XORG_VERSION_NUMERIC(1,19,99,1,0)) {
 	xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
 		   "Given depth (%d) is not supported under GLAMOR accel. Select EXA.\n",
 		   pScrn->depth);
-- 
2.16.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-02-14 18:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-14 17:49 [PATCH xf86-video-ati 1/4] glamor: Allow depth 30 with Xorg >= 1.19.99.1 Michel Dänzer
     [not found] ` <20180214174930.5086-1-michel-otUistvHUpPR7s880joybQ@public.gmane.org>
2018-02-14 17:49   ` [PATCH xf86-video-ati 2/4] Don't use RADEONEntPriv in RADEONFreeRec Michel Dänzer
2018-02-14 17:49   ` [PATCH xf86-video-ati 3/4] Don't call RADEONFreeRec from RADEONPreInit_KMS Michel Dänzer
2018-02-14 17:49   ` [PATCH xf86-video-ati 4/4] Call RADEONFreeRec from RADEONFreeScreen_KMS even if info == NULL Michel Dänzer
     [not found]     ` <20180214174930.5086-4-michel-otUistvHUpPR7s880joybQ@public.gmane.org>
2018-02-14 18:07       ` Deucher, Alexander

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.