~emersion/go-drm

8bddc7061a3e7c157b8fb768110e19e60522c657 — Simon Ser 4 months ago 0d4eee9
Update drm_fourcc.h to libdrm 2.4.104
1 files changed, 28 insertions(+), 4 deletions(-)

M fourcc_generated.go
M fourcc_generated.go => fourcc_generated.go +28 -4
@@ 1,5 1,5 @@
// Code generated by fourcc.py - DO NOT EDIT
// libdrm 2.4.98
// libdrm 2.4.104

package drm



@@ 54,6 54,7 @@ const (
	FormatXBGR16161616F Format = 0x48344258
	FormatARGB16161616F Format = 0x48345241
	FormatABGR16161616F Format = 0x48344241
	FormatAXBXGXRX106106106106 Format = 0x30314241
	FormatYUYV Format = 0x56595559
	FormatYVYU Format = 0x55595659
	FormatUYVY Format = 0x59565955


@@ 91,10 92,13 @@ const (
	FormatNV61 Format = 0x3136564E
	FormatNV24 Format = 0x3432564E
	FormatNV42 Format = 0x3234564E
	FormatNV15 Format = 0x3531564E
	FormatP210 Format = 0x30313250
	FormatP010 Format = 0x30313050
	FormatP012 Format = 0x32313050
	FormatP016 Format = 0x36313050
	FormatQ410 Format = 0x30313451
	FormatQ401 Format = 0x31303451
	FormatYUV410 Format = 0x39565559
	FormatYVU410 Format = 0x39555659
	FormatYUV411 Format = 0x31315559


@@ 209,6 213,8 @@ func (v Format) String() string {
		return "ARGB16161616F"
	case FormatABGR16161616F:
		return "ABGR16161616F"
	case FormatAXBXGXRX106106106106:
		return "AXBXGXRX106106106106"
	case FormatYUYV:
		return "YUYV"
	case FormatYVYU:


@@ 283,6 289,8 @@ func (v Format) String() string {
		return "NV24"
	case FormatNV42:
		return "NV42"
	case FormatNV15:
		return "NV15"
	case FormatP210:
		return "P210"
	case FormatP010:


@@ 291,6 299,10 @@ func (v Format) String() string {
		return "P012"
	case FormatP016:
		return "P016"
	case FormatQ410:
		return "Q410"
	case FormatQ401:
		return "Q401"
	case FormatYUV410:
		return "YUV410"
	case FormatYVU410:


@@ 326,6 338,7 @@ const (
	ModifierVendorBroadcom ModifierVendor = 0x7
	ModifierVendorARM ModifierVendor = 0x8
	ModifierVendorAllwinner ModifierVendor = 0x9
	ModifierVendorAmlogic ModifierVendor = 0xA
)

func (v ModifierVendor) String() string {


@@ 348,12 361,15 @@ func (v ModifierVendor) String() string {
		return "ARM"
	case ModifierVendorAllwinner:
		return "Allwinner"
	case ModifierVendorAmlogic:
		return "Amlogic"
	default:
		return "unknown"
	}
}

const (
	ModifierGENERIC_16_16_TILE Modifier = 0x400000000000002
	ModifierInvalid Modifier = 0xFFFFFFFFFFFFFF
	ModifierLinear Modifier = 0x0
	ModifierI915_X_TILED Modifier = 0x100000000000001


@@ 361,8 377,9 @@ const (
	ModifierI915_Yf_TILED Modifier = 0x100000000000003
	ModifierI915_Y_TILED_CCS Modifier = 0x100000000000004
	ModifierI915_Yf_TILED_CCS Modifier = 0x100000000000005
	ModifierI915_Y_TILED_GEN12_RC_CCS Modifier = 0x100000000000006
	ModifierI915_Y_TILED_GEN12_MC_CCS Modifier = 0x100000000000007
	ModifierSAMSUNG_64_32_TILE Modifier = 0x400000000000001
	ModifierSAMSUNG_16_16_TILE Modifier = 0x400000000000002
	ModifierQCOM_COMPRESSED Modifier = 0x500000000000001
	ModifierVIVANTE_TILED Modifier = 0x600000000000001
	ModifierVIVANTE_SUPER_TILED Modifier = 0x600000000000002


@@ 381,11 398,14 @@ const (
	ModifierBROADCOM_SAND128 Modifier = 0x700000000000004
	ModifierBROADCOM_SAND256 Modifier = 0x700000000000005
	ModifierBROADCOM_UIF Modifier = 0x700000000000006
	ModifierARM_16X16_BLOCK_U_INTERLEAVED Modifier = 0x810000000000001
	ModifierALLWINNER_TILED Modifier = 0x900000000000001
)

func (v Modifier) String() string {
	switch v {
	case ModifierGENERIC_16_16_TILE:
		return "GENERIC_16_16_TILE"
	case ModifierInvalid:
		return "invalid"
	case ModifierLinear:


@@ 400,10 420,12 @@ func (v Modifier) String() string {
		return "I915_Y_TILED_CCS"
	case ModifierI915_Yf_TILED_CCS:
		return "I915_Yf_TILED_CCS"
	case ModifierI915_Y_TILED_GEN12_RC_CCS:
		return "I915_Y_TILED_GEN12_RC_CCS"
	case ModifierI915_Y_TILED_GEN12_MC_CCS:
		return "I915_Y_TILED_GEN12_MC_CCS"
	case ModifierSAMSUNG_64_32_TILE:
		return "SAMSUNG_64_32_TILE"
	case ModifierSAMSUNG_16_16_TILE:
		return "SAMSUNG_16_16_TILE"
	case ModifierQCOM_COMPRESSED:
		return "QCOM_COMPRESSED"
	case ModifierVIVANTE_TILED:


@@ 440,6 462,8 @@ func (v Modifier) String() string {
		return "BROADCOM_SAND256"
	case ModifierBROADCOM_UIF:
		return "BROADCOM_UIF"
	case ModifierARM_16X16_BLOCK_U_INTERLEAVED:
		return "ARM_16X16_BLOCK_U_INTERLEAVED"
	case ModifierALLWINNER_TILED:
		return "ALLWINNER_TILED"
	default: