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)
commit7e3d92749dd773b8a1bd35b02e2aa1271cb7a31b
tree5d70ed612f2644826ac626be396ff3528688cee5
parent7d267f068a8b4944d52e8b0ae4c8fcc1c1c5c5ba
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