]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: refactor CRTC HW property setup
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 10 Aug 2015 09:08:50 +0000 (12:08 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 3 Apr 2017 09:36:40 +0000 (12:36 +0300)
commitac06ec1752cda4c356c27efb2b384ac3b3f226cb
tree5d70ed612f2644826ac626be396ff3528688cee5
parentd5412e25c030a6ff8cd46163145f75bc755ad779
drm/omap: refactor CRTC HW property setup

The current driver doesn't expose any of the CRTC HW properties like
background color or transparency key, and sets them at CRTC enable time.

Refactor this into a separate function and call that function from
omap_crtc_atomic_flush(). This is the behavior we want when the
properties can be configured, so this patch makes it easier to add
patches later which implement those properties.

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