drm/amdgpu: add a callback to set vm mapping flags
authorAlex Xie <AlexBin.Xie@amd.com>
Tue, 14 Feb 2017 17:22:57 +0000 (12:22 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:53:40 +0000 (23:53 -0400)
commit5463545b9280093f4614049df2dfee3f9e662172
tree23f702db8d87245034bbdab3956d2192f8458f0c
parent4b98e0c4aeb9e246fd877640d45dfbdcdf6283a9
drm/amdgpu: add a callback to set vm mapping flags

This lets each asic set whichever flags it supports.

Signed-off-by: Alex Xie <AlexBin.Xie@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@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.h
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c