staging: drm/omap: avoid multiple planes having same z-order
authorRob Clark <rob@ti.com>
Mon, 12 Mar 2012 02:11:20 +0000 (21:11 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Mar 2012 22:44:44 +0000 (15:44 -0700)
commitb66848eb85c2a646c852ea4644f43e1a86517245
tree87e584be899fcf27ce8f0df2825472a82e4ff871
parent4d3bfdda15d2019a3c2c91c9043ee4c3f5627708
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>
drivers/staging/omapdrm/omap_plane.c