]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm: Add checks for atomic_[duplicate/destroy]_state with atomic drivers
authorHaneen Mohammed <hamohammed.sa@gmail.com>
Fri, 25 May 2018 01:25:55 +0000 (04:25 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 18 Jun 2018 07:20:51 +0000 (09:20 +0200)
commitba1f665f161ce112a2703649317bfdc9b6521613
tree35a8d797af9d9912ae76d68ae84a5665a2782fac
parent0baf5cc971fc21ff55d75183dd1fe3afb505bff8
drm: Add checks for atomic_[duplicate/destroy]_state with atomic drivers

This patch add checks for atomic_[duplicate/destroy]_state of
drm_[connector/crtc/plane]_funcs for atomic drivers in the relevant
drm_*_init functions since these callback are mandatory for atomic drivers.

Update the kerneldoc comments for those callbacks.

Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180525012555.GA8448@haneen-vb
drivers/gpu/drm/drm_connector.c
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_plane.c
include/drm/drm_connector.h
include/drm/drm_crtc.h
include/drm/drm_plane.h