diff options
author | Liu Ying <victor.liu@nxp.com> | 2017-09-13 16:53:58 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:33:42 +0800 |
commit | 72b795023951abdf9a4197052104d208ffb5dc78 (patch) | |
tree | dafd29b7fe1558fb80454c24972049692dfd8e41 /drivers | |
parent | d84d03e5fa4ca5ce106fa69752dfc8b0e54368fe (diff) |
MLK-19413-11 gpu: imx: dpu: common: Add di_grp_id in display client pdev's data
This patch adds a new di_grp_id entry in display client pdev's data
so that the relevant display platform driver may know the display
group ID of the display device.
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/imx/dpu/dpu-common.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/imx/dpu/dpu-common.c b/drivers/gpu/imx/dpu/dpu-common.c index 4e31c1ec5b0b..ef7380aa6286 100644 --- a/drivers/gpu/imx/dpu/dpu-common.c +++ b/drivers/gpu/imx/dpu/dpu-common.c @@ -1188,8 +1188,10 @@ static int dpu_add_client_devices(struct dpu_soc *dpu) } } - if (is_disp) + if (is_disp) { reg[i].pdata.plane_grp = plane_grp; + reg[i].pdata.di_grp_id = plane_grp->id; + } pdev = platform_device_alloc(reg[i].name, id++); if (!pdev) { |