]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: add dispc_ops
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 5 Nov 2015 17:36:02 +0000 (19:36 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 3 Apr 2017 09:36:40 +0000 (12:36 +0300)
commit52e50998b631a2fd8552eb2afe13a46c72d3b190
tree44c49655a9a819a135168cb658e5f4f658cd81d2
parent96de17907833fc6929420bab4127447aa8b6dd79
drm/omap: add dispc_ops

We want to change the dispc API from plain functions to a struct with
functions pointers, so that omapdrm can call either omapdss or omapdss6
depending on the platform.

This patch adds 'struct dispc_ops' and adds functions to omapdss-base
to set and get the ops.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/dss/base.c
drivers/gpu/drm/omapdrm/dss/omapdss.h