path: root/drivers/gpu/ipu-v3/ipu-prv.h
diff options
authorLucas Stach <>2017-03-08 12:13:16 +0100
committerPhilipp Zabel <>2017-03-16 10:14:02 +0100
commitea9c260514c15f14d43a4c099646c44238dccf1e (patch)
tree6186fab57b34db46e9f517747c3cc51c1759d49c /drivers/gpu/ipu-v3/ipu-prv.h
parent63863d43e8f98691a714673991884732db8c8487 (diff)
gpu: ipu-v3: add driver for Prefetch Resolve Gasket
This adds support for the i.MX6 QUadPlus PRG unit. It glues together the IPU and the PRE units. Signed-off-by: Lucas Stach <> Signed-off-by: Philipp Zabel <> --- v4: add missing ipu_soc->prg_priv
Diffstat (limited to 'drivers/gpu/ipu-v3/ipu-prv.h')
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/ipu-v3/ipu-prv.h b/drivers/gpu/ipu-v3/ipu-prv.h
index 262efdff1dba..ca2a223a0d1e 100644
--- a/drivers/gpu/ipu-v3/ipu-prv.h
+++ b/drivers/gpu/ipu-v3/ipu-prv.h
@@ -174,6 +174,7 @@ struct ipu_vdi;
struct ipu_image_convert_priv;
struct ipu_smfc_priv;
struct ipu_pre;
+struct ipu_prg;
struct ipu_devtype;
@@ -208,6 +209,7 @@ struct ipu_soc {
struct ipu_vdi *vdi_priv;
struct ipu_image_convert_priv *image_convert_priv;
struct ipu_smfc_priv *smfc_priv;
+ struct ipu_prg *prg_priv;
static inline u32 ipu_idmac_read(struct ipu_soc *ipu, unsigned offset)
@@ -276,6 +278,10 @@ void ipu_pre_configure(struct ipu_pre *pre, unsigned int width,
unsigned int stride, u32 format, unsigned int bufaddr);
void ipu_pre_update(struct ipu_pre *pre, unsigned int bufaddr);
+struct ipu_prg *ipu_prg_lookup_by_phandle(struct device *dev, const char *name,
+ int ipu_id);
extern struct platform_driver ipu_pre_drv;
+extern struct platform_driver ipu_prg_drv;
#endif /* __IPU_PRV_H__ */