projects
/
linux
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
902d77f
)
drm/ttm: remove TTM_MEMTYPE_FLAG_MAPPABLE
author
Christian König
<christian.koenig@amd.com>
Thu, 16 Jul 2020 12:02:08 +0000
(14:02 +0200)
committer
Christian König
<christian.koenig@amd.com>
Wed, 22 Jul 2020 13:13:10 +0000
(15:13 +0200)
Not used any more. And it is bad design to use a TTM flag
to do a check inside a driver.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link:
https://patchwork.freedesktop.org/patch/378245/
include/drm/ttm/ttm_bo_driver.h
patch
|
blob
|
history
diff --git
a/include/drm/ttm/ttm_bo_driver.h
b/include/drm/ttm/ttm_bo_driver.h
index 71b195e78c7cffc066978ef39d9b1f78cefe83f9..9b251853afe25646246412bd4023824c0bbf795c 100644
(file)
--- a/
include/drm/ttm/ttm_bo_driver.h
+++ b/
include/drm/ttm/ttm_bo_driver.h
@@
-46,7
+46,6
@@
#define TTM_MAX_BO_PRIORITY 4U
#define TTM_MEMTYPE_FLAG_FIXED (1 << 0) /* Fixed (on-card) PCI memory */
-#define TTM_MEMTYPE_FLAG_MAPPABLE (1 << 1) /* Memory mappable */
struct ttm_mem_type_manager;