Module Name: src
Committed By: riastradh
Date: Sun Dec 19 01:56:24 UTC 2021
Modified Files:
src/sys/external/bsd/drm2/dist/include/drm: drmP.h
Log Message:
Remove drm_device_is_unplugged from drmP.h
Now defined in drm_drv.h.
Author: Maya Rashish <[email protected]>
To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/external/bsd/drm2/dist/include/drm/drmP.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/drm2/dist/include/drm/drmP.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.51 src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.52
--- src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.51 Sun Dec 19 01:56:16 2021
+++ src/sys/external/bsd/drm2/dist/include/drm/drmP.h Sun Dec 19 01:56:24 2021
@@ -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 @@ static __inline__ int drm_core_check_fea
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;