]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: drm/imx: handle framebuffer offsets correctly
authorLucas Stach <l.stach@pengutronix.de>
Fri, 10 Jan 2014 15:17:29 +0000 (16:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Jan 2014 23:11:51 +0000 (15:11 -0800)
commitbc2b067aab5ae046cb7fdb49e8b90ada44a3d5b1
tree1b2ac7df1daea616afd3a644cc6817003c548cc5
parentee2e072e8443e48bf8e9059e47fe8890928028bb
staging: drm/imx: handle framebuffer offsets correctly

We didn't take the pixel format into account, so x-direction
offsets were off by a factor of 2 or 4 for 16bpp and 32bpp
framebuffers.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/imx-drm/ipuv3-plane.c