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 Rename some drm_* to drm_legacy_*.



details:   https://anonhg.NetBSD.org/src/rev/1e92211ae7f6
branches:  trunk
changeset: 992547:1e92211ae7f6
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 06:57:32 2018 +0000

description:
Rename some drm_* to drm_legacy_*.

diffstat:

 sys/external/bsd/drm2/drm/drm_lock.c |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (72 lines):

diff -r dc306931d677 -r 1e92211ae7f6 sys/external/bsd/drm2/drm/drm_lock.c
--- a/sys/external/bsd/drm2/drm/drm_lock.c      Mon Aug 27 06:57:20 2018 +0000
+++ b/sys/external/bsd/drm2/drm/drm_lock.c      Mon Aug 27 06:57:32 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_lock.c,v 1.5 2018/08/27 06:06:31 riastradh Exp $   */
+/*     $NetBSD: drm_lock.c,v 1.6 2018/08/27 06:57:32 riastradh Exp $   */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -46,7 +46,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_lock.c,v 1.5 2018/08/27 06:06:31 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_lock.c,v 1.6 2018/08/27 06:57:32 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/errno.h>
@@ -66,7 +66,7 @@
  * Take the lock on behalf of userland.
  */
 int
-drm_lock(struct drm_device *dev, void *data, struct drm_file *file)
+drm_legacy_lock(struct drm_device *dev, void *data, struct drm_file *file)
 {
        struct drm_lock *lock_request = data;
        struct drm_master *master = file->master;
@@ -158,7 +158,7 @@
  * userland's request.  Fail if it doesn't actually hold the lock.
  */
 int
-drm_unlock(struct drm_device *dev, void *data, struct drm_file *file)
+drm_legacy_unlock(struct drm_device *dev, void *data, struct drm_file *file)
 {
        struct drm_lock *lock_request = data;
        struct drm_master *master = file->master;
@@ -222,7 +222,7 @@
  * XXX Should we also unblock signals like drm_unlock does?
  */
 int
-drm_lock_free(struct drm_lock_data *lock_data, unsigned int context)
+drm_legacy_lock_free(struct drm_lock_data *lock_data, unsigned int context)
 {
 
        spin_lock(&lock_data->spinlock);
@@ -238,7 +238,7 @@
  * anyone else.
  */
 void
-drm_idlelock_take(struct drm_lock_data *lock_data)
+drm_legacy_idlelock_take(struct drm_lock_data *lock_data)
 {
 
        spin_lock(&lock_data->spinlock);
@@ -262,7 +262,7 @@
  * Release whatever drm_idlelock_take managed to acquire.
  */
 void
-drm_idlelock_release(struct drm_lock_data *lock_data)
+drm_legacy_idlelock_release(struct drm_lock_data *lock_data)
 {
 
        spin_lock(&lock_data->spinlock);
@@ -287,7 +287,7 @@
  * think we can know what the correct answer is in that case.
  */
 int
-drm_i_have_hw_lock(struct drm_device *dev, struct drm_file *file)
+drm_legacy_i_have_hw_lock(struct drm_device *dev, struct drm_file *file)
 {
        struct drm_lock_data *const lock_data = &file->master->lock;
        int answer = 0;



Home | Main Index | Thread Index | Old Index