From d7914d4696e9e94fabe816cba3445a013b43f671 Mon Sep 17 00:00:00 2001 From: Flora Cui Date: Tue, 19 Jul 2016 17:04:56 +0800 Subject: [PATCH 090/117] amdgpu: change AMDGPU_GEM_CREATE_NO_EVICT flag definition to avoid conflict with upstream flags. Change-Id: I1ec4aa23c94b7711dea4d75936c94b2655b2a100 Signed-off-by: Flora Cui Reviewed-by: Chunming Zhou --- include/drm/amdgpu_drm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h index 599c2e7..46a3c40 100644 --- a/include/drm/amdgpu_drm.h +++ b/include/drm/amdgpu_drm.h @@ -78,7 +78,7 @@ /* Flag that USWC attributes should be used for GTT */ #define AMDGPU_GEM_CREATE_CPU_GTT_USWC (1 << 2) /* Flag that the memory allocation should be pinned */ -#define AMDGPU_GEM_CREATE_NO_EVICT (1 << 3) +#define AMDGPU_GEM_CREATE_NO_EVICT (1 << 31) struct drm_amdgpu_gem_create_in { /** the requested memory size */ -- 2.7.4