drm: Extract drm_plane.[hc]
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 21 Sep 2016 08:59:24 +0000 (10:59 +0200)
committerSean Paul <seanpaul@chromium.org>
Thu, 22 Sep 2016 07:01:56 +0000 (00:01 -0700)
commit43968d7b806d7a7e021261294c583a216fddf0e5
tree1e63e213539f99e347cd153916f985211fc80e1e
parentce2f2c3f82baf91036195c30ee58455ad24797f4
drm: Extract drm_plane.[hc]

Just pure code movement, cleanup and polish will happen in later
patches.

v2: Don't forget all the ioctl! To extract those cleanly I decided to
put check_src_coords into drm_framebuffer.c (and give it a
drm_framebuffer_ prefix), since that just checks framebuffer
constraints.

v3: rebase over PAGE_FLIP_TARGET.

Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
[seanpaul]
This patch as posted on the list was rebased on:

commit 6f00975c619064a18c23fd3aced325ae165a73b9
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Sat Aug 20 12:22:11 2016 +0200

    drm: Reject page_flip for !DRIVER_MODESET

so as a result of moving the page_flip ioctl, this fix has
been rolled into this patch.

Signed-off-by: Sean Paul <seanpaul@chromium.org>
Documentation/gpu/drm-kms.rst
drivers/gpu/drm/Makefile
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_crtc_internal.h
drivers/gpu/drm/drm_framebuffer.c
drivers/gpu/drm/drm_plane.c [new file with mode: 0644]
include/drm/drm_atomic.h
include/drm/drm_crtc.h
include/drm/drm_plane.h [new file with mode: 0644]