]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/omap: Move buffer pitch/offset to drm_framebuffer
authorDaniel Stone <daniels@collabora.com>
Fri, 30 Mar 2018 14:11:21 +0000 (15:11 +0100)
committerDaniel Stone <daniels@collabora.com>
Tue, 22 May 2018 09:13:46 +0000 (10:13 +0100)
commit2ecceeb53b19455ffa50b31fd3c20fe2974508a6
tree534a6ac9c49b514d54e25688471555c8a1fa481e
parent3e44255260dc3c329a92cf0aa64495951ccc4fb7
drm/omap: Move buffer pitch/offset to drm_framebuffer

drm_framebuffer already holds per-plane pitch and offsets, which is
filled out for us when we create the framebuffer. Nuke our local copy in
the plane struct.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180330141138.28987-7-daniels@collabora.com
drivers/gpu/drm/omapdrm/omap_fb.c