From: Christian König Date: Thu, 16 Jul 2020 12:02:08 +0000 (+0200) Subject: drm/ttm: remove TTM_MEMTYPE_FLAG_MAPPABLE X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9fadd6d1e2977bbd449d4fb99cde41ed6f71f668;p=linux.git drm/ttm: remove TTM_MEMTYPE_FLAG_MAPPABLE Not used any more. And it is bad design to use a TTM flag to do a check inside a driver. Signed-off-by: Christian König Reviewed-by: Daniel Vetter Link: https://patchwork.freedesktop.org/patch/378245/ --- diff --git a/include/drm/ttm/ttm_bo_driver.h b/include/drm/ttm/ttm_bo_driver.h index 71b195e78c7cf..9b251853afe25 100644 --- a/include/drm/ttm/ttm_bo_driver.h +++ b/include/drm/ttm/ttm_bo_driver.h @@ -46,7 +46,6 @@ #define TTM_MAX_BO_PRIORITY 4U #define TTM_MEMTYPE_FLAG_FIXED (1 << 0) /* Fixed (on-card) PCI memory */ -#define TTM_MEMTYPE_FLAG_MAPPABLE (1 << 1) /* Memory mappable */ struct ttm_mem_type_manager;