Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/drm drm_sg_* legacy
details: https://anonhg.NetBSD.org/src/rev/5a87edd82ee1
branches: trunk
changeset: 365862:5a87edd82ee1
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 27 07:02:06 2018 +0000
description:
drm_sg_* legacy
diffstat:
sys/external/bsd/drm2/drm/drm_scatter.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (44 lines):
diff -r ec2dcad6e070 -r 5a87edd82ee1 sys/external/bsd/drm2/drm/drm_scatter.c
--- a/sys/external/bsd/drm2/drm/drm_scatter.c Mon Aug 27 07:01:56 2018 +0000
+++ b/sys/external/bsd/drm2/drm/drm_scatter.c Mon Aug 27 07:02:06 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_scatter.c,v 1.4 2018/02/07 06:18:46 mrg Exp $ */
+/* $NetBSD: drm_scatter.c,v 1.5 2018/08/27 07:02:06 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_scatter.c,v 1.4 2018/02/07 06:18:46 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_scatter.c,v 1.5 2018/08/27 07:02:06 riastradh Exp $");
#include <sys/types.h>
#include <sys/bus.h>
@@ -40,13 +40,15 @@
#include <linux/slab.h>
#include <drm/drmP.h>
+#include <drm/drm_internal.h>
+#include "../dist/drm/drm_legacy.h"
static int drm_sg_alloc_mem(struct drm_device *, size_t,
struct drm_sg_mem **);
static void drm_sg_free_mem(struct drm_device *, struct drm_sg_mem *);
int
-drm_sg_alloc(struct drm_device *dev, void *data,
+drm_legacy_sg_alloc(struct drm_device *dev, void *data,
struct drm_file *file __unused)
{
struct drm_scatter_gather *const request = data;
@@ -88,7 +90,7 @@
}
int
-drm_sg_free(struct drm_device *dev, void *data, struct drm_file *file)
+drm_legacy_sg_free(struct drm_device *dev, void *data, struct drm_file *file)
{
struct drm_scatter_gather *const request = data;
struct drm_sg_mem *sg;
Home |
Main Index |
Thread Index |
Old Index