projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drm/gem: Warn on illegal use of the dumb buffer interface v2
[cascardo/linux.git]
/
include
/
drm
/
drm_gem.h
diff --git
a/include/drm/drm_gem.h
b/include/drm/drm_gem.h
index
1e6ae14
..
780511a
100644
(file)
--- a/
include/drm/drm_gem.h
+++ b/
include/drm/drm_gem.h
@@
-119,6
+119,13
@@
struct drm_gem_object {
* simply leave it as NULL.
*/
struct dma_buf_attachment *import_attach;
* simply leave it as NULL.
*/
struct dma_buf_attachment *import_attach;
+
+ /**
+ * dumb - created as dumb buffer
+ * Whether the gem object was created using the dumb buffer interface
+ * as such it may not be used for GPU rendering.
+ */
+ bool dumb;
};
void drm_gem_object_release(struct drm_gem_object *obj);
};
void drm_gem_object_release(struct drm_gem_object *obj);