From 6f46db3666e76e5a19c31bee9c3b3d930a939a2e Mon Sep 17 00:00:00 2001 From: Konstantin Date: Sun, 25 Feb 2024 02:53:56 +0300 Subject: [PATCH] xv: change FOURCC_RGBA32 to AMD one Initally we used value of DRM_FORMAT_ARGB8888, but it seems than xf86-video-ati has established other value for years. So, change it to well established one. Because we define a different values, this breaks compilation of xf86-video-ati. I am unsure, who is right in this situation, but I guess better to use an established value, to make AMD xorg driver compile. I do not aware about any of the side effects of this change. Fixes: 15412e78c8 - glamor: xv: add rgba32 format Signed-off-by: Konstantin --- include/fourcc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fourcc.h b/include/fourcc.h index 83e51a888..97885e573 100644 --- a/include/fourcc.h +++ b/include/fourcc.h @@ -176,7 +176,7 @@ XvTopToBottom \ } -#define FOURCC_RGBA32 0x34325241 +#define FOURCC_RGBA32 0x41424752 #define XVIMAGE_RGB32 \ { \ FOURCC_RGBA32, \