projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8089a62
)
drm/device: Deprecate dev_private harder
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Fri, 3 Apr 2020 13:57:47 +0000
(15:57 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 14 Apr 2020 16:43:18 +0000
(18:43 +0200)
We've had lots of conversions to embeddeding, but didn't stop using
->dev_private. Which defeats the point of this.
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20200403135828.2542770-4-daniel.vetter@ffwll.ch
include/drm/drm_device.h
patch
|
blob
|
blame
|
history
diff --git
a/include/drm/drm_device.h
b/include/drm/drm_device.h
index d39132b477dd17c36673a904f561e49483ec3495..a55874db9dd446d896476c3f0d429fc24ad6abe0 100644
(file)
--- a/
include/drm/drm_device.h
+++ b/
include/drm/drm_device.h
@@
-88,9
+88,12
@@
struct drm_device {
/**
* @dev_private:
*
- * DRM driver private data. Instead of using this pointer it is
- * recommended that drivers use drm_dev_init() and embed struct
- * &drm_device in their larger per-device structure.
+ * DRM driver private data. This is deprecated and should be left set to
+ * NULL.
+ *
+ * Instead of using this pointer it is recommended that drivers use
+ * drm_dev_init() and embed struct &drm_device in their larger
+ * per-device structure.
*/
void *dev_private;