]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: hdmi: use drm_display_mode to check the supported modes
authorRahul Sharma <rahul.sharma@samsung.com>
Mon, 10 Jun 2013 09:20:00 +0000 (14:50 +0530)
committerInki Dae <daeinki@gmail.com>
Fri, 28 Jun 2013 12:12:52 +0000 (21:12 +0900)
commiteb7e219170dfcb2addcb381cb9a8fb1b6e098be8
treeabe68f934d94be11672ce5677d8c8fe83ad3a0ff
parent060b7b8d76ffb75ccd0a728b865b902c3fec4a72
drm/exynos: hdmi: use drm_display_mode to check the supported modes

This patch renames check_timing to check_mode and removes the
unnecessary conversion of drm_display_mode to/from fb_videomode in
the hdmi driver.

v4:
1) Changed the commit message to add information related to renaming
the callbacks to check_mode.
2) Changed debug message to print 1/0 for interlace mode.

v3:
1) Replaced check_timing callbacks with check_mode.
2) Change the type of second parameter of check_mode callback from void
pointer paramenter to struct drm_display_mode pointer.

v2:
1) Removed convert_to_video_timing().
2) Corrected DRM_DEBUG_KMS to print the resolution properly.

Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_connector.c
drivers/gpu/drm/exynos/exynos_drm_drv.h
drivers/gpu/drm/exynos/exynos_drm_fimd.c
drivers/gpu/drm/exynos/exynos_drm_hdmi.c
drivers/gpu/drm/exynos/exynos_drm_hdmi.h
drivers/gpu/drm/exynos/exynos_drm_vidi.c
drivers/gpu/drm/exynos/exynos_hdmi.c
drivers/gpu/drm/exynos/exynos_mixer.c