drm/fourcc: Fix descriptions of 32b float formats
Subsystems (2)
PATCH 1/1 drm/fourcc: Fix descriptions of 32b float formats
The channels were described in reverse format, i.e. RGBA instead of ABGR
Signed-off-by Robert Ancell <[email protected]>
CC Rob Clark <[email protected]>
--- include/uapi/drm/drm_fourcc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
include/uapi/drm/drm_fourcc.h +3 -3
@@ -242,9 +242,9 @@ extern "C" {* [31:0] sign:exponent:mantissa 1:8:23 */ #define DRM_FORMAT_R32F fourcc_code('R', ' ', ' ', 'F')/* [31:0] R 32 little endian */ -#define DRM_FORMAT_GR3232F fourcc_code('G', 'R', ' ', 'F')/* [63:0] R:G 32:32 little endian */ -#define DRM_FORMAT_BGR323232F fourcc_code('B', 'G', 'R', 'F')/* [95:0] R:G:B 32:32:32 little endian */ -#define DRM_FORMAT_ABGR32323232F fourcc_code('A', 'B', '8', 'F')/* [127:0] R:G:B:A 32:32:32:32 little endian */ +#define DRM_FORMAT_GR3232F fourcc_code('G', 'R', ' ', 'F')/* [63:0] G:R 32:32 little endian */ +#define DRM_FORMAT_BGR323232F fourcc_code('B', 'G', 'R', 'F')/* [95:0] B:G:R 32:32:32 little endian */ +#define DRM_FORMAT_ABGR32323232F fourcc_code('A', 'B', '8', 'F')/* [127:0] A:B:G:R 32:32:32:32 little endian */ /* * RGBA format with 10-bit components packed in 64-bit per pixel, with 6 bits
Signature · 1 line
2.53.0
Reviewed-by Simon Ser <[email protected]>
I've pushed the patch, thanks!