All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] drm/ttm: cleanup and add TTM_PL_FLAG_TEMPORARY
@ 2021-05-27  1:30 ` Lang Yu
  0 siblings, 0 replies; 29+ messages in thread
From: Lang Yu @ 2021-05-27  1:30 UTC (permalink / raw)
  To: amd-gfx, dri-devel; +Cc: Alex Deucher, Huang Rui, Lang Yu, Christian Koenig

Make TTM_PL_FLAG_* start from zero and add
TTM_PL_FLAG_TEMPORARY flag for temporary
GTT allocation use.

Signed-off-by: Lang Yu <Lang.Yu@amd.com>
---
 include/drm/ttm/ttm_placement.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/include/drm/ttm/ttm_placement.h b/include/drm/ttm/ttm_placement.h
index aa6ba4d0cf78..9f5cfc7c2d5a 100644
--- a/include/drm/ttm/ttm_placement.h
+++ b/include/drm/ttm/ttm_placement.h
@@ -47,8 +47,9 @@
  * top of the memory area, instead of the bottom.
  */
 
-#define TTM_PL_FLAG_CONTIGUOUS  (1 << 19)
-#define TTM_PL_FLAG_TOPDOWN     (1 << 22)
+#define TTM_PL_FLAG_CONTIGUOUS  (1 << 0)
+#define TTM_PL_FLAG_TOPDOWN     (1 << 1)
+#define TTM_PL_FLAG_TEMPORARY   (1 << 2)
 
 /**
  * struct ttm_place
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2021-05-31 12:18 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-27  1:30 [PATCH 1/2] drm/ttm: cleanup and add TTM_PL_FLAG_TEMPORARY Lang Yu
2021-05-27  1:30 ` Lang Yu
2021-05-27  1:30 ` [PATCH 2/2] drm/amdgpu: stop bookkeeping of temporary GTT allocation Lang Yu
2021-05-27  1:30   ` Lang Yu
2021-05-27 11:51   ` Christian König
2021-05-27 11:51     ` Christian König
2021-05-28  9:47     ` Yu, Lang
2021-05-28  9:47       ` Yu, Lang
2021-05-28 12:23       ` Christian König
2021-05-28 12:23         ` Christian König
2021-05-27  7:42 ` [PATCH 1/2] drm/ttm: cleanup and add TTM_PL_FLAG_TEMPORARY Thomas Hellström (Intel)
2021-05-27 11:45 ` Christian König
2021-05-27 11:45   ` Christian König
2021-05-31  8:19 ` Yu, Lang
2021-05-31  8:19   ` Yu, Lang
2021-05-31  9:52   ` Thomas Hellström (Intel)
2021-05-31  9:52     ` Thomas Hellström (Intel)
2021-05-31 10:32     ` Christian König
2021-05-31 10:32       ` Christian König
2021-05-31 10:46       ` Thomas Hellström (Intel)
2021-05-31 10:46         ` Thomas Hellström (Intel)
2021-05-31 10:56         ` Christian König
2021-05-31 10:56           ` Christian König
2021-05-31 11:19           ` Thomas Hellström (Intel)
2021-05-31 11:19             ` Thomas Hellström (Intel)
2021-05-31 12:02             ` Christian König
2021-05-31 12:02               ` Christian König
2021-05-31 12:09               ` Thomas Hellström (Intel)
2021-05-31 12:09                 ` Thomas Hellström (Intel)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.