summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_plane.c
diff options
context:
space:
mode:
authorTomi Valkeinen2016-02-18 17:47:14 +0100
committerTomi Valkeinen2016-03-03 16:36:43 +0100
commit6bdad6cf98844e76f678da35dea09193bfb78be1 (patch)
tree7b22243a54e8c1143076386438139eeab1579088 /drivers/gpu/drm/omapdrm/omap_plane.c
parentdrm/omap: EBUSY status handling in omap_gem_fault() (diff)
downloadkernel-qcow2-linux-6bdad6cf98844e76f678da35dea09193bfb78be1.tar.gz
kernel-qcow2-linux-6bdad6cf98844e76f678da35dea09193bfb78be1.tar.xz
kernel-qcow2-linux-6bdad6cf98844e76f678da35dea09193bfb78be1.zip
drm/omap: fix crtc->plane property delegation
Before universal planes we had to have plane specific properties for the crtc too, as on the hardware level a crtc uses a plane. In other words, e.g. 'zorder' property was added to both planes and crtcs, and omap_crtc.c would delegate the property set/get to the primary plane. However, the delegation was a bit too generic, delegating all property set/get calls to planes. Thus it's possible to set, say, FB_ID, on a crtc, which gets redirected to the primary plane. This is not standard, and shouldn't be allowed. To keep backward compatibility, we still need to redirect the properties we supported earlier for crtcs, namely 'zorder' and 'rotation'. This patch redirects only the allowed properties from crtcs to planes. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_plane.c')
0 files changed, 0 insertions, 0 deletions