drm/exynos/gscaler: add local path support
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 15 Feb 2019 14:36:25 +0000 (15:36 +0100)
committerAndrzej Hajda <a.hajda@samsung.com>
Wed, 20 Mar 2019 12:52:04 +0000 (13:52 +0100)
commit661645b2921ea887e4469df9fb2b03713eed7f68
treee8bd859df2a15a9efab956ddc2deb799b98c96c5
parent68866e6c5c85ba2964e0a72e0faf2d4955b5cb91
drm/exynos/gscaler: add local path support

GSCALERs in Exynos5433 have local path to DECON and DECON_TV.
They can be used as extra planes with support for non-RGB formats and scaling.
To enable it GSCALER must expose exynos_plane with associated plane callbacks
and bind it to DECONs CRTCs. Moreover device locking should be added to prevent
simultanous device usage by IPP and DRM.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_gsc.c
drivers/gpu/drm/exynos/regs-gsc.h