drm/tilcdc: Remove obsolete crtc helper functions
authorJyri Sarha <jsarha@ti.com>
Mon, 11 Apr 2016 09:46:11 +0000 (12:46 +0300)
committerJyri Sarha <jsarha@ti.com>
Mon, 8 Aug 2016 20:05:08 +0000 (23:05 +0300)
commit6b4736db9c5d5fa903d20f1a82fe2777a395c955
tree0dc6feb0f21a999b8f7376d0696efa6b43985086
parent305198de894345b788522feacded0ca78f9db5d2
drm/tilcdc: Remove obsolete crtc helper functions

Remove obsolete crtc helper functions. These are not needed when
atomic modeset is used.

Note that the drm_crtc_helper_funcs mode_fixup() is still needed. The
crtc's check() callback can not do its job here.

The plane's check() callback needs to set drm_crtc_state's
->mode_changed to true if the pixel format for the framebuffer
changes. Because of this drm_mode_config_funcs atomic_check() callback
needs to call drm_atomic_helper_check_modeset() once more after it has
called drm_atomic_helper_check_planes(). If the fixing of the
adjusted_mode would be done in drm_crtc_helper_funcs atomic_check()
callback, it would get over written by the extra
drm_atomic_helper_check_modeset() call.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
drivers/gpu/drm/tilcdc/tilcdc_crtc.c