summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorLiu Ying <victor.liu@nxp.com>2018-10-08 15:47:00 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:34:23 +0800
commit42ede7deec5ecf188412153b38958b59bfbf1d41 (patch)
tree9093b013b68e0641ce44e89f6b1930f82a672d1a /include/video
parent09485f111c5d2d0a2fdc4ae68f5220d383df8537 (diff)
MLK-19823 drm/imx: dpu: crtc: Get store resource via platform data
Store9 unit can be shared bewteen display engine(for sync mode fixup) and blit engine. It's proper to get the store resource in the DPU common driver and then pass it to relevant client drivers. From the CRTC driver point of view, it's straightforward to get the store resource via platform data instead of getting it directly, which avoids the wrong situation where getting it twice(one time for one of the two CRTCs of one DPU, respectively). Signed-off-by: Liu Ying <victor.liu@nxp.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/dpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/video/dpu.h b/include/video/dpu.h
index e7184d25d20c..ad8703772580 100644
--- a/include/video/dpu.h
+++ b/include/video/dpu.h
@@ -840,6 +840,9 @@ struct dpu_client_platformdata {
unsigned int di_grp_id;
struct dpu_plane_grp *plane_grp;
+ /* Store9 could be shared bewteen display engine and blit engine */
+ struct dpu_store *st9;
+
struct device_node *of_node;
};
#endif /* __DRM_DPU_H__ */