projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d3bfdd
)
staging: drm/omap: avoid multiple planes having same z-order
author
Rob Clark
<rob@ti.com>
Mon, 12 Mar 2012 02:11:20 +0000
(21:11 -0500)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 13 Mar 2012 22:44:44 +0000
(15:44 -0700)
Multiple video pipes on same output with same z-order is an undefined
behavior. Set a unique z-order value based on overlay number/id.
Signed-off-by: Rob Clark <rob@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/omapdrm/omap_plane.c
patch
|
blob
|
history
diff --git
a/drivers/staging/omapdrm/omap_plane.c
b/drivers/staging/omapdrm/omap_plane.c
index
55ddc58
..
9b3bfa0
100644
(file)
--- a/
drivers/staging/omapdrm/omap_plane.c
+++ b/
drivers/staging/omapdrm/omap_plane.c
@@
-439,7
+439,7
@@
struct drm_plane *omap_plane_init(struct drm_device *dev,
if (priv)
omap_plane->info.zorder = 0;
else
- omap_plane->info.zorder =
1
;
+ omap_plane->info.zorder =
ovl->id
;
update_manager(plane);