]> 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)
commitae3fe1b518160688534ae635b6158a7716be64d0
tree44c49655a9a819a135168cb658e5f4f658cd81d2
parent8a80dedd3baacce4fecc4a4aa6802e79590a47f2
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