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/dist/include/drm Remove drm_device_is_...



details:   https://anonhg.NetBSD.org/src/rev/d9c519505af0
branches:  trunk
changeset: 1028128:d9c519505af0
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:56:24 2021 +0000

description:
Remove drm_device_is_unplugged from drmP.h

Now defined in drm_drv.h.


Author: Maya Rashish <maya%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/dist/include/drm/drmP.h |  9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diffs (23 lines):

diff -r 3f6ecc02267c -r d9c519505af0 sys/external/bsd/drm2/dist/include/drm/drmP.h
--- a/sys/external/bsd/drm2/dist/include/drm/drmP.h     Sun Dec 19 01:56:16 2021 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drmP.h     Sun Dec 19 01:56:24 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drmP.h,v 1.51 2021/12/19 01:56:16 riastradh Exp $      */
+/*     $NetBSD: drmP.h,v 1.52 2021/12/19 01:56:24 riastradh Exp $      */
 
 /*
  * Internal Header for the Direct Rendering Manager
@@ -641,13 +641,6 @@
        return ((dev->driver->driver_features & feature) ? 1 : 0);
 }
 
-static inline int drm_device_is_unplugged(struct drm_device *dev)
-{
-       int ret = atomic_read(&dev->unplugged);
-       smp_rmb();
-       return ret;
-}
-
 static inline bool drm_is_render_client(const struct drm_file *file_priv)
 {
        return file_priv->minor->type == DRM_MINOR_RENDER;



Home | Main Index | Thread Index | Old Index