MLK-17646 gpu: imx: dpu: Correct number of fg instances in plane group resource
authorLiu Ying <victor.liu@nxp.com>
Fri, 2 Mar 2018 04:44:05 +0000 (12:44 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:56:02 +0000 (14:56 -0500)
commit2efab7d8fa7d301922ccf8481518dc2a772f57ef
treec332d42aa3794369de54adff0341e262bad98970
parent69bca2b87d248190bb41fd880f4a6878789ef009
MLK-17646 gpu: imx: dpu: Correct number of fg instances in plane group resource

The resources for a plane group are shared by the two display streams
of one DPU.  Thus, the two Framegen(fg) instances of one DPU should be
in the plane group resource.  The resource users may find the fg instance
onto which the resources are built via the stream id.  This patch corrects
the number of fg instances in a plane group resource from one to two.

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