MLK-16075-20 drm/imx: dpu: plane: Use a better way to calculate base address
authorLiu Ying <victor.liu@nxp.com>
Mon, 24 Jul 2017 08:56:56 +0000 (16:56 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:33:52 +0000 (15:33 -0500)
commite0f8d1de31d6f1933d8078e925f901da3fe9b2ad
tree05ae1a57ad8c499da78fbe78b2eb2f079c5a8533
parent395ff2e9dace66b36228b3453f6948b3bc4acc71
MLK-16075-20 drm/imx: dpu: plane: Use a better way to calculate base address

This patch uses the helper drm_format_plane_cpp() to calculate base address
so that we can calculate correctly for the YUV pixel formats as well.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
drivers/gpu/drm/imx/dpu/dpu-plane.c