drm/blend: Define the direction of Z position values
Subsystems (2)
PATCH 1/1 drm/blend: Define the direction of Z position values
We forgot that.
Proof is the one igt testcase we have:
https://gitlab.freedesktop.org/drm/igt-gpu-tools/blob/master/tests/kms_atomic.c#L280
While at it also document that we have immutable zpos properties in some cases.
--- drivers/gpu/drm/drm_blend.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
drivers/gpu/drm/drm_blend.c +6 -1
@@ -130,7 +130,12 @@* Z position is set up with drm_plane_create_zpos_immutable_property() and * drm_plane_create_zpos_property(). It controls the visibility of overlapping * planes. Without this property the primary plane is always below the cursor -* plane, and ordering between all other planes is undefined. +* plane, and ordering between all other planes is undefined. The positive +* Z axis points towards the user, i.e. planes with lower Z position values +* are underneath planes with higher Z position values. Note that the Z +* position value can also be immutable, to inform userspace about the +* hard-coded stacking of overlay planes, see +* drm_plane_create_zpos_immutable_property(). * * pixel blend mode: * Pixel blend mode is set up with drm_plane_create_blend_mode_property().
Signature · 6 lines
2.23.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 10 lines · Daniel Vetter
We forgot that.
Proof is the one igt testcase we have:
https://gitlab.freedesktop.org/drm/igt-gpu-tools/blob/master/tests/kms_atomic.c#L280
While at it also document that we have immutable zpos properties in some cases.
Quoted 6 lines
Reported-by Pekka Paalanen <[email protected]>Cc Pekka Paalanen <[email protected]>Reviewed-by Pekka Paalanen <[email protected]>Cc Ilia Mirkin <[email protected]>Acked-by Ilia Mirkin <[email protected]>Signed-off-by Daniel Vetter <[email protected]>
From irc: Reviewed-by: Daniel Stone <[email protected]>
Quoted 25 lines
--- drivers/gpu/drm/drm_blend.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)drivers/gpu/drm/drm_blend.c +6
-2@@ -130,7 +130,12 @@* Z position is set up with drm_plane_create_zpos_immutable_property() and * drm_plane_create_zpos_property(). It controls the visibility of overlapping * planes. Without this property the primary plane is always below the cursor -* plane, and ordering between all other planes is undefined. +* plane, and ordering between all other planes is undefined. The positive +* Z axis points towards the user, i.e. planes with lower Z position values +* are underneath planes with higher Z position values. Note that the Z +* position value can also be immutable, to inform userspace about the +* hard-coded stacking of overlay planes, see +* drm_plane_create_zpos_immutable_property(). * * pixel blend mode: * Pixel blend mode is set up with drm_plane_create_blend_mode_property(). -- 2.23.0
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 10 lines · Daniel Vetter
Quoted 9 lines · Daniel Vetter
We forgot that.
Proof is the one igt testcase we have:
https://gitlab.freedesktop.org/drm/igt-gpu-tools/blob/master/tests/kms_atomic.c#L280
While at it also document that we have immutable zpos properties in some cases.
Quoted 8 lines
Quoted 6 lines
Reported-by Pekka Paalanen <[email protected]>Cc Pekka Paalanen <[email protected]>Reviewed-by Pekka Paalanen <[email protected]>Cc Ilia Mirkin <[email protected]>Acked-by Ilia Mirkin <[email protected]>Signed-off-by Daniel Vetter <[email protected]>From irc: Reviewed-by: Daniel Stone <[email protected]>
And from mail also.
Cheers,
Daniel
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 18 lines · Daniel Stone
Quoted 17 lines · Daniel Vetter
Quoted 15 lines · Daniel Vetter
We forgot that.
Proof is the one igt testcase we have:
https://gitlab.freedesktop.org/drm/igt-gpu-tools/blob/master/tests/kms_atomic.c#L280
While at it also document that we have immutable zpos properties in some cases.
Reported-by Pekka Paalanen <[email protected]>Cc Pekka Paalanen <[email protected]>Reviewed-by Pekka Paalanen <[email protected]>Cc Ilia Mirkin <[email protected]>Acked-by Ilia Mirkin <[email protected]>Signed-off-by Daniel Vetter <[email protected]>
Quoted 3 lines
Quoted 1 line
From irc: Reviewed-by: Daniel Stone <[email protected]>
And from mail also.
And applied.
-Daniel
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel