]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: add display-mode-check operation to exynos_mixer_ops struct
authorRahul Sharma <rahul.sharma@samsung.com>
Tue, 15 Jan 2013 13:11:05 +0000 (08:11 -0500)
committerInki Dae <inki.dae@samsung.com>
Thu, 21 Feb 2013 06:00:27 +0000 (15:00 +0900)
commitec0476ee1a8603c4b20b4e70f78f2105df35852d
treeea3bec17569b0a299a289ce4798ac10bd0e4cbc2
parentf6250abb9586a431798bfbb194165700d672ea5f
drm/exynos: add display-mode-check operation to exynos_mixer_ops struct

This patch adds the display mode check operation to exynos_mixer_ops
in drm-common-hdmi. In Exynos SoCs, mixer IP can put certain restrictions
on the proposed display modes. These restriction needs to be considered
during mode negotiation, which happens immediately after edid parsing.

Both, mixer check-mode and hdmi check-timing callbacks are called one after
another and ANDed result is returned back.

Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_hdmi.c
drivers/gpu/drm/exynos/exynos_drm_hdmi.h
drivers/gpu/drm/exynos/exynos_hdmi.c