[PATCH 0/2] drm blend/omap: normalized zpos handling
peter.ujfalusi at ti.com
Thu Dec 21 12:10:59 UTC 2017
The following two patch will change the omapdrm to use the normalized_zpos when
configuring the zpos/zorder of the planes.
In OMAP it is possible to move planes between crtcs freely and it is possible to
move even the primary plane from one crtc to another, where it should not be
treated as primary anymore (the crtc's primary plane is the primary for the
The first patch will adjust the sorting of the planes for the given crtc to make
sure that the crtc's primary plane, if it has zpos=0 is going to be the bottom
plane. If the zpos of the primary plane is changed by user space then we obey
this and don't force the bottom position.
Peter Ujfalusi (2):
drm/blend: Account also the primary plane of the crtc for
drm/omap: Normalize the zpos and use the normalized_zpos in runtime
drivers/gpu/drm/drm_blend.c | 6 +++++-
drivers/gpu/drm/omapdrm/omap_drv.c | 26 +++++++++++++++++++++++++-
drivers/gpu/drm/omapdrm/omap_plane.c | 2 +-
3 files changed, 31 insertions(+), 3 deletions(-)
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
More information about the dri-devel