OMAPDSS: DPI: Use DPI driver data
commit630d2d0de6b113748ce08d5f69e094eeed24accc
authorArchit Taneja <archit@ti.com>
Fri, 30 May 2014 10:56:22 +0000 (30 16:26 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 12 Nov 2014 11:39:48 +0000 (12 13:39 +0200)
tree16b2423cd91d161609aa4fd89ee29302967bef19
parent0df1f2487d2f0d04703f142813d53615d62a1da4
OMAPDSS: DPI: Use DPI driver data

DPI related data is currently a static global struct parameter. It is accessed
directly by functions in the driver.

This method won't work if we want the driver to support multiple DPI instances.
Create struct dpi_data, and pass its pointer to functions which need to use it.

We still have a static instance defined for dpi_data, which is accessed by top
level DPI ops. This will be removed when the driver dynamically allocates
dpi_data for each DPI instance.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/omap2/dss/dpi.c