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

Reply via email to