]> git.karo-electronics.de Git - linux-beck.git/commit
[media] omap_vout: use omapdss's version instead of cpu_is_*
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 12 Nov 2012 13:17:39 +0000 (15:17 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 29 Nov 2012 17:09:16 +0000 (19:09 +0200)
commit950e2fb420d54bf0ee0de2fb0f146827a98330bf
tree77751ca395115f2c0eef332e2e3179c15faeb0af
parentbdb736abfad5d61d1004dcc11dae2f7b651e5bb4
[media] omap_vout: use omapdss's version instead of cpu_is_*

cpu_is_* class functions create a dependency to OMAP platform code.
omapdss driver, which omap_vout uses, exposes a function to get the
version of the DSS hardware.

To remove the dependency to OMAP platform code this patch changes
omap_vout to use the omapdss version. For most of the checks, the ones
dealing with DSS differences, this is actually more correct than using
cpu_is_* functions. For the check whether VRFB is available or not this
is not really correct, but still works fine.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/omap/omap_vout.c
drivers/media/platform/omap/omap_voutlib.c
drivers/media/platform/omap/omap_voutlib.h