]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc3d9dc0300f1229e98a1a47c55569ff983af817a
tree491ebd8944d82c63881b9c3c98564d3d818e80bc
parent02b34ecbe32a4d14144cc1b6831c51e1d2897d7b
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