]> git.baikalelectronics.ru Git - kernel.git/commit
drm: rcar-du: vsp: Extract framebuffer (un)mapping to separate functions
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 21 Feb 2019 01:20:42 +0000 (03:20 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 18 Mar 2019 15:24:46 +0000 (17:24 +0200)
commite21b50eb37815a6cf6064d9f74d6868e569176a9
tree6ed47d860bf34e89ff2ac7e77c1f6b87018a69cc
parent18fd696ff7665929ad9899aabe8066a056986615
drm: rcar-du: vsp: Extract framebuffer (un)mapping to separate functions

The rcar_du_vsp_plane_prepare_fb() and rcar_du_vsp_plane_cleanup_fb()
functions implement the DRM plane .prepare_fb() and .cleanup_fb()
operations. They map and unmap the framebuffer to/from the VSP
internally, which will be useful to implement writeback support. Split
the mapping and unmapping out to separate functions.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_vsp.c
drivers/gpu/drm/rcar-du/rcar_du_vsp.h