drm/ttm: rework handling of private mem types
authorChristian König <christian.koenig@amd.com>
Mon, 12 Sep 2016 11:34:37 +0000 (13:34 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Sep 2016 19:10:42 +0000 (15:10 -0400)
commit283cde69aa318f7b2eeb02a7c62b16f69e1d422a
treeb778c1d978bc45785c94dbb8bbb4ab454b409e81
parent5d98d0bcff64c9a76d21da9648881e14ed26fff6
drm/ttm: rework handling of private mem types

Instead of keeping a bunch of potentially unused flags, just define
the start for private memory types and remove the rest.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
drivers/gpu/drm/qxl/qxl_object.c
drivers/gpu/drm/qxl/qxl_ttm.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
include/drm/ttm/ttm_placement.h