Skip to content

Commit

Permalink
drm/ttm: remove TTM_MEMTYPE_FLAG_MAPPABLE
Browse files Browse the repository at this point in the history
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 <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/378245/
  • Loading branch information
Christian König committed Jul 22, 2020
1 parent 902d77f commit 9fadd6d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/drm/ttm/ttm_bo_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 9fadd6d

Please sign in to comment.