From 8cf8ac1539183c35883b7e924a211d85ed046217 Mon Sep 17 00:00:00 2001 From: Jammy Zhou Date: Mon, 18 May 2015 20:50:17 +0800 Subject: [PATCH] amdgpu: remove unused AMDGPU_IB_RESOURCE_PRIORITY MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jammy Zhou Reviewed-by: Michel Dänzer Reviewed-by: Christian König --- amdgpu/amdgpu.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/amdgpu/amdgpu.h b/amdgpu/amdgpu.h index e99bada..dacffec 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 ------------------------------------ */ /*--------------------------------------------------------------------------*/ -- 2.7.4