drm: xlnx: zynqmp_dpsub: Pass format info to zynqmp_disp_layer_set_format()
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 6 Aug 2021 11:29:52 +0000 (14:29 +0300)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 19 Oct 2022 13:51:03 +0000 (16:51 +0300)
commit98c4ecec55d3bd2a8a79eba0adee0285724ea50f
treebf388e821f41368764c905d80a9ef039f9fae517
parent457d7180d628a303cd3c579e95f24746d915591e
drm: xlnx: zynqmp_dpsub: Pass format info to zynqmp_disp_layer_set_format()

The zynqmp_disp_layer_set_format() function only needs format
information, not a full plane state. Get the necessary info from the
plane state in the caller and pass it to zynqmp_disp_layer_set_format().
This prepares for calling the function from non-DRM code. This doesn't
introduce any functional change.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/xlnx/zynqmp_disp.c