summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJammy Zhou <Jammy.Zhou@amd.com>2015-05-18 20:50:17 +0800
committerAlex Deucher <alexander.deucher@amd.com>2015-07-30 00:11:10 -0400
commita7e7c3dfc297d144b7e09ced48dbf39ebb4ad464 (patch)
tree66fe1505cc3563168585dbd0a72ac8bc24523d0e
parentb23fa145857d82f4480dd5d1877aef5cc1b920b9 (diff)
amdgpu: remove unused AMDGPU_IB_RESOURCE_PRIORITY
Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
-rw-r--r--amdgpu/amdgpu.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/amdgpu/amdgpu.h b/amdgpu/amdgpu.h
index e99bada1..dacffec0 100644
--- a/amdgpu/amdgpu.h
+++ b/amdgpu/amdgpu.h
@@ -65,17 +65,6 @@ struct drm_amdgpu_info_hw_ip;
*/
#define AMDGPU_CS_REUSE_IB 0x2
-/**
- * The special resource flag for IB submission.
- * When VRAM is full, some resources may be moved to GTT to make place
- * for other resources which want to be in VRAM. This flag affects the order
- * in which resources are moved back to VRAM until there is no space there.
- * The resources with the highest priority will be moved first.
- * The value can be between 0 and 15, inclusive.
- */
-#define AMDGPU_IB_RESOURCE_PRIORITY(x) ((x) & 0xf)
-
-
/*--------------------------------------------------------------------------*/
/* ----------------------------- Enums ------------------------------------ */
/*--------------------------------------------------------------------------*/