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 <ria.freelander@gmail.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1321>
This commit is contained in:
Konstantin
2024-02-25 02:53:56 +03:00
committed by Enrico Weigelt, metux IT consult
parent 3b81b8a9b9
commit 83651f8404

View File

@@ -176,7 +176,7 @@
XvTopToBottom \
}
#define FOURCC_RGBA32 0x34325241
#define FOURCC_RGBA32 0x41424752
#define XVIMAGE_RGB32 \
{ \
FOURCC_RGBA32, \