drm/ttm: use bit flag to replace allow_reserved_eviction in ttm_operation_ctx
authorRoger He <Hongbo.He@amd.com>
Tue, 6 Feb 2018 03:22:57 +0000 (11:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Feb 2018 04:09:34 +0000 (23:09 -0500)
commitd330fca11500bebaf7f25b60b7b087bbe8ad0b7f
tree491ebd8944d82c63881b9c3c98564d3d818e80bc
parentc02216acf4177c4411d33735c81cad687790fa59
drm/ttm: use bit flag to replace allow_reserved_eviction in ttm_operation_ctx

for saving memory and more bit flag can be used in future

Signed-off-by: Roger He <Hongbo.He@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
drivers/gpu/drm/ttm/ttm_bo.c
include/drm/ttm/ttm_bo_api.h