Series is:

Reviewed-by: Alex Deucher <[email protected]>

________________________________
From: amd-gfx <[email protected]> on behalf of Michel 
Dänzer <[email protected]>
Sent: Thursday, February 15, 2018 11:50:24 AM
To: [email protected]
Subject: [PATCH xf86-video-ati 2/2] Simplify depth 30 "kernel too old" error 
message

From: Michel Dänzer <[email protected]>

We know it's depth 30, need to have xf86DrvMsg fill it in.

Signed-off-by: Michel Dänzer <[email protected]>
---
 src/radeon_kms.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index b268f7ea7..85390e306 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -1778,8 +1778,7 @@ Bool RADEONPreInit_KMS(ScrnInfoPtr pScrn, int flags)
     /* Depth 30 only supported since Linux 3.16 / kms driver minor version 39 
*/
     if (pScrn->depth == 30 && info->dri2.pKernelDRMVersion->version_minor < 
39) {
         xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
-                  "Given depth (%d) is not supported. Kernel too old. Needs 
Linux 3.16+\n",
-                  pScrn->depth);
+                  "Depth 30 is not supported. Kernel too old. Needs Linux 
3.16+\n");
         return FALSE;
     }

--
2.16.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to