drm: rcar: use generic code for managing zpos plane property
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>
Fri, 22 Jul 2016 12:28:27 +0000 (14:28 +0200)
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>
Fri, 29 Jul 2016 08:03:10 +0000 (10:03 +0200)
commit2fc4d838aaf2607216eda5ce9dba18fa14422a31
tree2c869a4f80ea6ea07b723347a86d037687cc84e1
parente47726a11e11ffaefb5b3d6103f5d2ffa366f8ef
drm: rcar: use generic code for managing zpos plane property

version 6:
rebased patch on top rcar-du changes for zpos

version 4:
fix null pointer issue while setting zpos in plane reset function

This patch replaces zpos property handling custom code in rcar DRM
driver with calls to generic DRM code.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
drivers/gpu/drm/rcar-du/rcar_du_crtc.c
drivers/gpu/drm/rcar-du/rcar_du_drv.h
drivers/gpu/drm/rcar-du/rcar_du_kms.c
drivers/gpu/drm/rcar-du/rcar_du_plane.c
drivers/gpu/drm/rcar-du/rcar_du_plane.h
drivers/gpu/drm/rcar-du/rcar_du_vsp.c