drm/fourcc: Document open source user waiver
Subsystems (2)
PATCH 1/1 drm/fourcc: Document open source user waiver
It's a bit a FAQ, and we really can't claim to be the authoritative source for allocating these numbers used in many standard extensions if we tell closed source or vendor stacks in general to go away.
Iirc this was already clarified in some vulkan discussions, but I can't find that anywhere anymore. At least not in a public link.
--- include/uapi/drm/drm_fourcc.h | 12 ++++++++++++ 1 file changed, 12 insertions(+)
include/uapi/drm/drm_fourcc.h +12 -0
@@ -88,6 +88,18 @@ extern "C" {* * The authoritative list of format modifier codes is found in * `include/uapi/drm/drm_fourcc.h` +* +* Open Source User Waiver +* ----------------------- +* +* Because this is the authoritative source for pixel formats and modifiers +* referenced by GL, Vulkan extensions and other standards and hence used both +* by open source and closed source driver stacks, the usual requirement for an +* upstream in-kernel or open source userspace user does not apply. +* +* To ensure, as much as feasible, compatibility across stacks and avoid +* confusion with incompatible enumerations stakeholders for all relevant driver +* stacks should approve additions. */ #define fourcc_code (a, b, c, d) ((__u32)(a) | ((__u32)(b) << 8) | \
Signature · 1 line
2.37.2
Quoted 7 lines · Daniel Vetter
It's a bit a FAQ, and we really can't claim to be the authoritative source for allocating these numbers used in many standard extensions if we tell closed source or vendor stacks in general to go away.
Iirc this was already clarified in some vulkan discussions, but I can't find that anywhere anymore. At least not in a public link.
Quoted 11 lines
Cc Maarten Lankhorst <[email protected]>Cc Maxime Ripard <[email protected]>Cc Thomas Zimmermann <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Alex Deucher <[email protected]>Cc Daniel Stone <[email protected]>Cc Bas Nieuwenhuizen <[email protected]>Cc Jason Ekstrand <[email protected]>Cc Neil Trevett <[email protected]>Signed-off-by Daniel Vetter <[email protected]>
Maxime
Quoted 6 lines · Daniel Vetter
It's a bit a FAQ, and we really can't claim to be the authoritative source for allocating these numbers used in many standard extensions if we tell closed source or vendor stacks in general to go away.
Iirc this was already clarified in some vulkan discussions, but I can't find that anywhere anymore. At least not in a public link.
I seem to recall the policy being set in an IRC discussion at some point (or perhaps during the AFBC merge?). This is a good clarification of what we already do in practice.
Quoted 7 lines · Daniel Vetter
It's a bit a FAQ, and we really can't claim to be the authoritative source for allocating these numbers used in many standard extensions if we tell closed source or vendor stacks in general to go away.
Iirc this was already clarified in some vulkan discussions, but I can't find that anywhere anymore. At least not in a public link.
Quoted 11 lines
Cc Maarten Lankhorst <[email protected]>Cc Maxime Ripard <[email protected]>Cc Thomas Zimmermann <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Alex Deucher <[email protected]>Cc Daniel Stone <[email protected]>Cc Bas Nieuwenhuizen <[email protected]>Cc Jason Ekstrand <[email protected]>Cc Neil Trevett <[email protected]>Signed-off-by Daniel Vetter <[email protected]>
From irc:
<airlied> danvet: ack from me
Quoted 30 lines
--- include/uapi/drm/drm_fourcc.h | 12 ++++++++++++ 1 file changed, 12 insertions(+)include/uapi/drm/drm_fourcc.h +12
-0@@ -88,6 +88,18 @@ extern "C" {* * The authoritative list of format modifier codes is found in * `include/uapi/drm/drm_fourcc.h` +* +* Open Source User Waiver +* ----------------------- +* +* Because this is the authoritative source for pixel formats and modifiers +* referenced by GL, Vulkan extensions and other standards and hence used both +* by open source and closed source driver stacks, the usual requirement for an +* upstream in-kernel or open source userspace user does not apply. +* +* To ensure, as much as feasible, compatibility across stacks and avoid +* confusion with incompatible enumerations stakeholders for all relevant driver +* stacks should approve additions. */ #define fourcc_code (a, b, c, d) ((__u32)(a) | ((__u32)(b) << 8) | \Signature · 1 line
2.37.2
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch
Quoted 21 lines · Daniel Vetter
Quoted 7 lines · Daniel Vetter
It's a bit a FAQ, and we really can't claim to be the authoritative source for allocating these numbers used in many standard extensions if we tell closed source or vendor stacks in general to go away.
Iirc this was already clarified in some vulkan discussions, but I can't find that anywhere anymore. At least not in a public link.
Quoted 11 lines
Cc Maarten Lankhorst <[email protected]>Cc Maxime Ripard <[email protected]>Cc Thomas Zimmermann <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Alex Deucher <[email protected]>Cc Daniel Stone <[email protected]>Cc Bas Nieuwenhuizen <[email protected]>Cc Jason Ekstrand <[email protected]>Cc Neil Trevett <[email protected]>Signed-off-by Daniel Vetter <[email protected]>
Quoted 3 lines
From irc:
<airlied> danvet: ack from me
Also from irc:
<mareko> danvet: Acked
-Daniel
Quoted 35 lines
Quoted 28 lines
--- include/uapi/drm/drm_fourcc.h | 12 ++++++++++++ 1 file changed, 12 insertions(+)include/uapi/drm/drm_fourcc.h +12
-1@@ -88,6 +88,18 @@ extern "C" {* * The authoritative list of format modifier codes is found in * `include/uapi/drm/drm_fourcc.h` +* +* Open Source User Waiver +* ----------------------- +* +* Because this is the authoritative source for pixel formats and modifiers +* referenced by GL, Vulkan extensions and other standards and hence used both +* by open source and closed source driver stacks, the usual requirement for an +* upstream in-kernel or open source userspace user does not apply. +* +* To ensure, as much as feasible, compatibility across stacks and avoid +* confusion with incompatible enumerations stakeholders for all relevant driver +* stacks should approve additions. */ #define fourcc_code (a, b, c, d) ((__u32)(a) | ((__u32)(b) << 8) | \ --Quoted 2 lines
2.37.2
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch
Jason Ekstrand
Acked-byQuoted 81 lines · Daniel Vetter
Quoted 21 lines · Daniel Vetter
Quoted 7 lines · Daniel Vetter
It's a bit a FAQ, and we really can't claim to be the authoritative source for allocating these numbers used in many standard extensions if we tell closed source or vendor stacks in general to go away.
Iirc this was already clarified in some vulkan discussions, but I can't find that anywhere anymore. At least not in a public link.
Quoted 11 lines
Cc Maarten Lankhorst <[email protected]>Cc Maxime Ripard <[email protected]>Cc Thomas Zimmermann <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Alex Deucher <[email protected]>Cc Daniel Stone <[email protected]>Cc Bas Nieuwenhuizen <[email protected]>Cc Jason Ekstrand <[email protected]>Cc Neil Trevett <[email protected]>Signed-off-by Daniel Vetter <[email protected]>Quoted 3 lines
From irc:
<airlied> danvet: ack from me
Also from irc:
<mareko> danvet: Acked
-Daniel
Quoted 5 lines
Review
Quoted 5 lines
--- include/uapi/drm/drm_fourcc.h | 12 ++++++++++++ 1 file changed, 12 insertions(+)(quoted diff) +0
-0
b/include/uapi/drm/drm_fourcc.hQuoted 4 lines
Quoted 4 lines
index
bc056f2d537d..de703c6be969100644include/uapi/drm/drm_fourcc.h +0
-0@@ -88,6 +88,18 @@ extern "C" {Quoted 8 lines
include/uapi/drm/drm_fourcc.h extern "C" {
Quoted 8 lines
include/uapi/drm/drm_fourcc.h +5
-0* * The authoritative list of format modifier codes is found in * `include/uapi/drm/drm_fourcc.h` +* +* Open Source User Waiver +* ----------------------- +* +* Because this is the authoritative source for pixel formats and modifiers
Quoted 1 line
include/uapi/drm/drm_fourcc.h extern "C" { · line 96
Quoted 1 line
include/uapi/drm/drm_fourcc.h +1
-0+* referenced by GL, Vulkan extensions and other standards and hence used both
Quoted 1 line
include/uapi/drm/drm_fourcc.h extern "C" { · line 97
Quoted 1 line
include/uapi/drm/drm_fourcc.h +1
-0+* by open source and closed source driver stacks, the usual requirement for an
Quoted 3 lines
include/uapi/drm/drm_fourcc.h extern "C" {
Quoted 3 lines
include/uapi/drm/drm_fourcc.h +3
-0+* upstream in-kernel or open source userspace user does not apply. +* +* To ensure, as much as feasible, compatibility across stacks and avoid
Quoted 1 line
include/uapi/drm/drm_fourcc.h extern "C" { · line 101
Quoted 1 line
include/uapi/drm/drm_fourcc.h +1
-0+* confusion with incompatible enumerations stakeholders for all relevant driver
Quoted 8 lines
Quoted 7 lines
include/uapi/drm/drm_fourcc.h +1
-1+* stacks should approve additions. */ #define fourcc_code (a, b, c, d) ((__u32)(a) | ((__u32)(b) << 8) | \ --2.37.2
Quoted 4 lines
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
Bas Nieuwenhuizen
Acked-byQuoted 79 lines · Jason Ekstrand
Acked-by Jason Ekstrand <[email protected]>Quoted 75 lines · Daniel Vetter
Quoted 21 lines · Daniel Vetter
Quoted 7 lines · Daniel Vetter
It's a bit a FAQ, and we really can't claim to be the authoritative source for allocating these numbers used in many standard extensions if we tell closed source or vendor stacks in general to go away.
Iirc this was already clarified in some vulkan discussions, but I can't find that anywhere anymore. At least not in a public link.
Quoted 11 lines
Cc Maarten Lankhorst <[email protected]>Cc Maxime Ripard <[email protected]>Cc Thomas Zimmermann <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Alex Deucher <[email protected]>Cc Daniel Stone <[email protected]>Cc Bas Nieuwenhuizen <[email protected]>Cc Jason Ekstrand <[email protected]>Cc Neil Trevett <[email protected]>Signed-off-by Daniel Vetter <[email protected]>Quoted 3 lines
From irc:
<airlied> danvet: ack from me
Also from irc:
<mareko> danvet: Acked
-Daniel
Quoted 26 lines
Quoted 26 lines
--- include/uapi/drm/drm_fourcc.h | 12 ++++++++++++ 1 file changed, 12 insertions(+)include/uapi/drm/drm_fourcc.h +12
-0@@ -88,6 +88,18 @@ extern "C" {* * The authoritative list of format modifier codes is found in * `include/uapi/drm/drm_fourcc.h` +* +* Open Source User Waiver +* ----------------------- +* +* Because this is the authoritative source for pixel formats and modifiers +* referenced by GL, Vulkan extensions and other standards and hence used both +* by open source and closed source driver stacks, the usual requirement for an +* upstream in-kernel or open source userspace user does not apply. +* +* To ensure, as much as feasible, compatibility across stacks and avoid +* confusion with incompatible enumerations stakeholders for all relevant driver +* stacks should approve additions. */ Quoted 9 lines
Quoted 4 lines
include/uapi/drm/drm_fourcc.h +0
-1#define fourcc_code (a, b, c, d) ((__u32)(a) | ((__u32)(b) << 8) | \ --2.37.2
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
Thanks for all the acks, added them all and applied the patch. -Daniel
Quoted 82 lines · Bas Nieuwenhuizen
Quoted 79 lines · Jason Ekstrand
Acked-by Jason Ekstrand <[email protected]>Quoted 75 lines · Daniel Vetter
Quoted 21 lines · Daniel Vetter
Quoted 7 lines · Daniel Vetter
It's a bit a FAQ, and we really can't claim to be the authoritative source for allocating these numbers used in many standard extensions if we tell closed source or vendor stacks in general to go away.
Iirc this was already clarified in some vulkan discussions, but I can't find that anywhere anymore. At least not in a public link.
Quoted 11 lines
Cc Maarten Lankhorst <[email protected]>Cc Maxime Ripard <[email protected]>Cc Thomas Zimmermann <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>Cc Alex Deucher <[email protected]>Cc Daniel Stone <[email protected]>Cc Bas Nieuwenhuizen <[email protected]>Cc Jason Ekstrand <[email protected]>Cc Neil Trevett <[email protected]>Signed-off-by Daniel Vetter <[email protected]>Quoted 3 lines
From irc:
<airlied> danvet: ack from me
Also from irc:
<mareko> danvet: Acked
-Daniel
Quoted 26 lines
Quoted 26 lines
--- include/uapi/drm/drm_fourcc.h | 12 ++++++++++++ 1 file changed, 12 insertions(+)include/uapi/drm/drm_fourcc.h +12
-0@@ -88,6 +88,18 @@ extern "C" {* * The authoritative list of format modifier codes is found in * `include/uapi/drm/drm_fourcc.h` +* +* Open Source User Waiver +* ----------------------- +* +* Because this is the authoritative source for pixel formats and modifiers +* referenced by GL, Vulkan extensions and other standards and hence used both +* by open source and closed source driver stacks, the usual requirement for an +* upstream in-kernel or open source userspace user does not apply. +* +* To ensure, as much as feasible, compatibility across stacks and avoid +* confusion with incompatible enumerations stakeholders for all relevant driver +* stacks should approve additions. */ Quoted 9 lines
Quoted 4 lines
include/uapi/drm/drm_fourcc.h +0
-1#define fourcc_code (a, b, c, d) ((__u32)(a) | ((__u32)(b) << 8) | \ --2.37.2
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch