diff options
author | Rob Clark <rob@ti.com> | 2012-03-12 02:11:20 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-13 22:44:44 (GMT) |
commit | b66848eb85c2a646c852ea4644f43e1a86517245 (patch) | |
tree | 87e584be899fcf27ce8f0df2825472a82e4ff871 /drivers/staging | |
parent | 4d3bfdda15d2019a3c2c91c9043ee4c3f5627708 (diff) | |
download | linux-b66848eb85c2a646c852ea4644f43e1a86517245.tar.xz |
staging: drm/omap: avoid multiple planes having same z-order
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/omapdrm/omap_plane.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/omapdrm/omap_plane.c b/drivers/staging/omapdrm/omap_plane.c index 55ddc58..9b3bfa0 100644 --- 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); |