summaryrefslogtreecommitdiffstats
path: root/include/video/exynos5433_decon.h
Commit message (Collapse)AuthorAgeFilesLines
* drm/exynos/decon: Move headers from global to local placeKrzysztof Kozlowski2018-01-021-209/+0
| | | | | | | | | | The DECON headers contain only defines for registers. There are no other drivers using them so this should be put locally to the Exynos DRM driver. Keeping headers local helps managing the code. Suggested-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Inki Dae <inki.dae@samsung.com>
* drm/exynos/decon5433: simplify shadow protect codeAndrzej Hajda2017-06-011-0/+1
| | | | | | | There is no point in protecting only particular windows during update. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
* drm/exynos/decon5433: signal frame done interrupt at front porchAndrzej Hajda2017-03-211-0/+4
| | | | | | | | DECON in case of video mode generates interrupt by default at start of vertical back porch. As this interrupt is used to generate VBLANK events more optimal point is start of vertical front porch. Signed-off-by: Inki Dae <inki.dae@samsung.com>
* drm/exynos/decon5433: fix vblank event handlingAndrzej Hajda2017-03-211-0/+8
| | | | | | | | | | | Current implementation of event handling assumes that vblank interrupt is always called at the right time. It is not true, it can be delayed due to various reasons. As a result different races can happen. The patch fixes the issue by using hardware frame counter present in DECON to serialize vblank and commit completion events. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
* drm/exynos/decon5433: signal vblank only on odd fieldsAndrzej Hajda2017-02-071-0/+1
| | | | | | | | In case of interlace mode irq is generated for odd and even fields, but vblank should be signaled only for the last emitted field. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
* drm/exynos/decon5433: add support for interlace modesAndrzej Hajda2017-02-071-0/+1
| | | | | | | | | Some registers should be programmed differently in interlace mode. Additionally IP does not signal stop state properly in interlaced mode, so warning has been removed. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
* drm/exynos: clean up register definions for fimd and deconInki Dae2016-04-301-3/+3
| | | | | | | | | | This patch removes suffixes from I80 relevant register definitions, which are misleading. This is based on top of below patch set, http://www.spinics.net/lists/dri-devel/msg104057.html Signed-off-by: Inki Dae <inki.dae@samsung.com>
* drm/exynos/decon5433: add support for DECON-TVAndrzej Hajda2015-11-031-0/+29
| | | | | | | | | | DECON-TV IP is responsible for generating video stream which is transferred to HDMI IP. It is almost fully compatible with DECON IP. The patch is based on initial work of Hyungwon Hwang. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
* drm/exynos: add Exynos5433 decon driverJoonyoung Shim2015-06-221-0/+165
DECON(Display and Enhancement Controller) is new IP replacing FIMD in Exynos5433. This patch adds Exynos5433 decon driver. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>