diff options
| author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2018-09-05 09:57:11 -0400 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2018-09-09 08:19:18 -0400 |
| commit | 72fdb40c1a4b48f5fa6f6083ea7419b94639ed57 (patch) | |
| tree | 5d6a3a8b7a8575a6293e8103f74938d5df8278cd /drivers/gpu/drm/msm | |
| parent | 2ec04b33a96fe954701ceecfd0b489978f667b34 (diff) | |
drm: extract drm_atomic_uapi.c
This leaves all the commit/check and state handling in drm_atomic.c,
while pulling all the uapi glue and the huge ioctl itself into a
seprate file.
This seems to almost perfectly split the rather big drm_atomic.c file
into 2 equal sizes.
Also adjust the kerneldoc and type a very terse overview text.
v2: Rebase.
v3: Fix tiny typo.
v4:
- Fixup armada, newly converted atomic driver hooray!
- Fixup msm/dpu1, newly added too.
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Gustavo Padovan <gustavo@padovan.org>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Sean Paul <seanpaul@chromium.org>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Rob Clark <robdclark@gmail.com>
Cc: Eric Anholt <eric@anholt.net>
Cc: intel-gfx@lists.freedesktop.org
Cc: linux-arm-msm@vger.kernel.org
Cc: freedreno@lists.freedesktop.org
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180905135711.28370-7-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/msm')
| -rw-r--r-- | drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/msm/msm_atomic.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c index b640e39ebaca..015341e2dd4c 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | |||
| @@ -21,6 +21,8 @@ | |||
| 21 | #include <linux/debugfs.h> | 21 | #include <linux/debugfs.h> |
| 22 | #include <linux/dma-buf.h> | 22 | #include <linux/dma-buf.h> |
| 23 | 23 | ||
| 24 | #include <drm/drm_atomic_uapi.h> | ||
| 25 | |||
| 24 | #include "msm_drv.h" | 26 | #include "msm_drv.h" |
| 25 | #include "dpu_kms.h" | 27 | #include "dpu_kms.h" |
| 26 | #include "dpu_formats.h" | 28 | #include "dpu_formats.h" |
diff --git a/drivers/gpu/drm/msm/msm_atomic.c b/drivers/gpu/drm/msm/msm_atomic.c index c1f1779c980f..4bcdeca7479d 100644 --- a/drivers/gpu/drm/msm/msm_atomic.c +++ b/drivers/gpu/drm/msm/msm_atomic.c | |||
| @@ -15,6 +15,8 @@ | |||
| 15 | * this program. If not, see <http://www.gnu.org/licenses/>. | 15 | * this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #include <drm/drm_atomic_uapi.h> | ||
| 19 | |||
| 18 | #include "msm_drv.h" | 20 | #include "msm_drv.h" |
| 19 | #include "msm_gem.h" | 21 | #include "msm_gem.h" |
| 20 | #include "msm_kms.h" | 22 | #include "msm_kms.h" |
