diff options
author | Christian König <christian.koenig@amd.com> | 2016-09-08 09:30:33 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-09-14 15:10:42 -0400 |
commit | 08614da7041eb59baf729bdcf07c2dbd3d80c63e (patch) | |
tree | 0ca3665c563e2814ae221614f3c423d3f5baf02d | |
parent | 283cde69aa318f7b2eeb02a7c62b16f69e1d422a (diff) |
drm/ttm: remove unused placement flags
Either never used or not used in quite a while.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | include/drm/ttm/ttm_placement.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/drm/ttm/ttm_placement.h b/include/drm/ttm/ttm_placement.h index 4c579d984d45..764158268f26 100644 --- a/include/drm/ttm/ttm_placement.h +++ b/include/drm/ttm/ttm_placement.h | |||
@@ -60,7 +60,6 @@ | |||
60 | #define TTM_PL_FLAG_CACHED (1 << 16) | 60 | #define TTM_PL_FLAG_CACHED (1 << 16) |
61 | #define TTM_PL_FLAG_UNCACHED (1 << 17) | 61 | #define TTM_PL_FLAG_UNCACHED (1 << 17) |
62 | #define TTM_PL_FLAG_WC (1 << 18) | 62 | #define TTM_PL_FLAG_WC (1 << 18) |
63 | #define TTM_PL_FLAG_SHARED (1 << 20) | ||
64 | #define TTM_PL_FLAG_NO_EVICT (1 << 21) | 63 | #define TTM_PL_FLAG_NO_EVICT (1 << 21) |
65 | #define TTM_PL_FLAG_TOPDOWN (1 << 22) | 64 | #define TTM_PL_FLAG_TOPDOWN (1 << 22) |
66 | 65 | ||
@@ -70,14 +69,4 @@ | |||
70 | 69 | ||
71 | #define TTM_PL_MASK_MEMTYPE (TTM_PL_MASK_MEM | TTM_PL_MASK_CACHING) | 70 | #define TTM_PL_MASK_MEMTYPE (TTM_PL_MASK_MEM | TTM_PL_MASK_CACHING) |
72 | 71 | ||
73 | /* | ||
74 | * Access flags to be used for CPU- and GPU- mappings. | ||
75 | * The idea is that the TTM synchronization mechanism will | ||
76 | * allow concurrent READ access and exclusive write access. | ||
77 | * Currently GPU- and CPU accesses are exclusive. | ||
78 | */ | ||
79 | |||
80 | #define TTM_ACCESS_READ (1 << 0) | ||
81 | #define TTM_ACCESS_WRITE (1 << 1) | ||
82 | |||
83 | #endif | 72 | #endif |