drm/exynos: fimd: Add support for FIMD versions without SHADOWCON register
authorTomasz Figa <tomasz.figa@gmail.com>
Wed, 1 May 2013 19:02:27 +0000 (21:02 +0200)
committerInki Dae <daeinki@gmail.com>
Fri, 28 Jun 2013 12:12:51 +0000 (21:12 +0900)
commitde7af1004bc74522d31675fdabdff432d2ddd986
treeb07d985b303d51d8080cb1e338b60a27bbcc5c08
parent188734653ca7eea1b01b214565b1990caf6eb84e
drm/exynos: fimd: Add support for FIMD versions without SHADOWCON register

Some platforms that can be supported with this driver have PRTCON
register instead of SHADOWCON, which requires slightly different
handling.

This patch factors out all register shadow control code from the driver
and adds a function to control register shadowing appropriately,
depending on driver data.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Acked-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fimd.c