OpenCloudOS-Kernel/drivers/gpu/drm/tilcdc
Jyri Sarha db380c58b7 drm/tilcdc: Add tilcdc_crtc_atomic_check()
Add tilcdc_crtc_atomic_check(). Checks the display mode validity and
the presence of the mandatory primary plane.

The drm_crtc_helper_funcs mode_fixup() callback is left untouched and
the check function does no try to do its job on purpose, despite what
the mode_fixup() callback's documentations suggests.

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>
2016-08-08 23:05:04 +03:00
..
Kconfig drm/tilcdc: make fbdev support really optional 2016-07-18 09:11:38 +02:00
Makefile drm/tilcdc: Add dummy primary plane implementation 2016-08-08 23:05:00 +03:00
tilcdc_crtc.c drm/tilcdc: Add tilcdc_crtc_atomic_check() 2016-08-08 23:05:04 +03:00
tilcdc_drv.c drm/tilcdc: Fix tilcdc component master unloading 2016-08-08 23:04:57 +03:00
tilcdc_drv.h drm/tilcdc: Add dummy primary plane implementation 2016-08-08 23:05:00 +03:00
tilcdc_external.c drm/tilcdc: Avoid error print by of_graph_get_next_endpoint() 2016-08-08 23:04:56 +03:00
tilcdc_external.h drm/tilcdc: Add support for external tda998x encoder 2015-05-27 13:13:32 +03:00
tilcdc_panel.c drm/tilcdc: Use devm_kzalloc() and devm_kcalloc() for private data 2016-02-25 16:39:47 +02:00
tilcdc_panel.h drm/tilcdc: add support for LCD panels (v5) 2013-02-19 17:57:45 -05:00
tilcdc_plane.c drm/tilcdc: Add dummy primary plane implementation 2016-08-08 23:05:00 +03:00
tilcdc_regs.h drm/tilcdc: support pixel widths greater than 1024 2013-06-28 09:12:13 +10:00
tilcdc_slave_compat.c drivers/of: Specify parent node in of_fdt_unflatten_tree() 2016-05-16 07:22:35 -05:00
tilcdc_slave_compat.dts drm/tilcdc: Add DRM_TILCDC_SLAVE_COMPAT for ti,tilcdc,slave binding support 2015-05-27 13:13:33 +03:00
tilcdc_slave_compat.h drm/tilcdc: Add DRM_TILCDC_SLAVE_COMPAT for ti,tilcdc,slave binding support 2015-05-27 13:13:33 +03:00
tilcdc_tfp410.c remove lots of IS_ERR_VALUE abuses 2016-05-27 15:26:11 -07:00
tilcdc_tfp410.h drm/tilcdc: add TI LCD Controller DRM driver (v4) 2013-02-19 17:57:44 -05:00