Linux Samsung SOC development
 help / color / mirror / Atom feed
* drm/exynos: mixer blending and layer order
@ 2015-04-23 12:28 Tobias Jakobi
  2015-04-24  2:13 ` Joonyoung Shim
  0 siblings, 1 reply; 8+ messages in thread
From: Tobias Jakobi @ 2015-04-23 12:28 UTC (permalink / raw)
  To: linux-samsung-soc; +Cc: gustavo.padovan, jy0922.shim, inki.dae

Hello,

I've noticed some inconsistency in what is currently exported as 'zpos' 
DRM propery to userspace. Currently we create three planes, where the 
zpos maps to the mixer 'win' (is this simply short for window?).

But this is wrong since the mixer layer configuration is currently done 
in this way (in mixer_win_reset()):
layer1 (win[1]) > layer0 (win[0]) > video (win[2])

So layer1 is at the top of our stack, and the video layer is at the 
bottom. So regardless on how you interpret the zpos property (0 being 
the top, or 0 being bottom), it doesn't give you accurate information on 
how the planes are ordered.

Related to this is the issue of how to blend planes. When should 
blending of layer be enabled? We probably want to based this on three 
states:
- which layer are enabled
- which pixelformats are associated to the layers
- in which order are the layers (*)

(*) So in the case of 'layer1 > layer0 > video', layer1 disabled, 
layer0/video enabled, layer0 having alpha-pixelformat, we want to blend 
layer0 and the video layer (so effectively making layer0 translucent).

I'm trying to come up with a proposition for that issue in the next 
days, but it would really help to hear thoughts of you guys.

With best wishes,
Tobias

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-04-30  7:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-23 12:28 drm/exynos: mixer blending and layer order Tobias Jakobi
2015-04-24  2:13 ` Joonyoung Shim
2015-04-24  8:29   ` Tobias Jakobi
2015-04-27  6:52     ` Joonyoung Shim
2015-04-28 12:58       ` Tobias Jakobi
2015-04-29  6:49         ` Joonyoung Shim
2015-04-29 13:13           ` Tobias Jakobi
2015-04-30  7:17             ` Joonyoung Shim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox