mirror of
https://github.com/X11Libre/xf86-video-ati.git
synced 2026-03-24 01:24:43 +00:00
glamor: Allow depth 30 with Xorg >= 1.19.99.1
Corresponding to amdgpu commit 6aee5770fb913713bb1b9a1af8f0d0892a66f21a. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Michel Dänzer
parent
733f606dd6
commit
703cbb7177
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user