[PATCH 1/2] Add missing depth 30 -> cpp=4 handling for DRI2.

Mario Kleiner mario.kleiner.de at gmail.com
Wed Jan 24 17:19:37 UTC 2018


Missing this apparently didn't cause any ill side effects, only a bit of
confusion when looking at xtrace's of DRI2 clients.

Signed-off-by: Mario Kleiner <mario.kleiner.de at gmail.com>
---
 src/radeon_dri2.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c
index b569bb4..6dce2c1 100644
--- a/src/radeon_dri2.c
+++ b/src/radeon_dri2.c
@@ -125,6 +125,7 @@ radeon_dri2_create_buffer2(ScreenPtr pScreen,
 	    cpp = 2;
 	    break;
 	case 24:
+	case 30:
 	    cpp = 4;
 	    break;
 	default:
-- 
2.7.4



More information about the amd-gfx mailing list