drm: rcar-du: Move plane format to plane state
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 23 Feb 2015 00:59:35 +0000 (02:59 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 3 Mar 2015 14:16:27 +0000 (16:16 +0200)
commit5bfcbce0eaeb884e258648e5ceb74a61cfb80f3c
tree0880b39b3c7ddc92c991b2972f92706dce493499
parent53dff601790ebc3d4caffef12b2c4754f5886c64
drm: rcar-du: Move plane format to plane state

The format stored in the rcar_du_plane structure is part of the plane
state. Move it to the rcar_du_plane_state structure and precompute it in
the .atomic_check() handler.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_crtc.c
drivers/gpu/drm/rcar-du/rcar_du_plane.c
drivers/gpu/drm/rcar-du/rcar_du_plane.h