linux/drivers/gpu/drm/atmel-hlcdc
Boris Brezillon aca63b7661 drm: atmel-hlcdc: move output mode selection in CRTC implementation
In order to support multiple outputs we need to move the output mode
selection to the CRTC object, so that the output validity check can be
done against the drm_atomic_state.

If the connectors selected by a specific mode setting are requiring
incompatible bus format the atomic operation is aborted (->atomic_check()
returns -EINVAL).

In order to implement that, we need to define our own CRTC state and
overload default ->reset(), ->atomic_duplicate_state() and
->atomic_destroy_state() functions.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Tested-by: Nicolas Ferre <nicolas.ferre@atmel.com>
2016-04-14 09:17:27 +02:00
..
atmel_hlcdc_crtc.c drm: atmel-hlcdc: move output mode selection in CRTC implementation 2016-04-14 09:17:27 +02:00
atmel_hlcdc_dc.c drm: atmel-hlcdc: move output mode selection in CRTC implementation 2016-04-14 09:17:27 +02:00
atmel_hlcdc_dc.h drm: atmel-hlcdc: move output mode selection in CRTC implementation 2016-04-14 09:17:27 +02:00
atmel_hlcdc_layer.c Linux 4.0-rc3 2015-03-09 19:58:30 +10:00
atmel_hlcdc_layer.h drm: atmel-hlcdc: Atomic mode-setting conversion 2015-02-22 21:00:06 +01:00
atmel_hlcdc_output.c drm: atmel-hlcdc: move output mode selection in CRTC implementation 2016-04-14 09:17:27 +02:00
atmel_hlcdc_plane.c drm: atmel-hlcdc: add a ->cleanup_fb() operation 2016-04-14 09:17:24 +02:00
Kconfig
Makefile