OSDN Git Service

drm/amdgpu: add support for BO_VAs without BO v2
authorChristian König <christian.koenig@amd.com>
Mon, 30 Jan 2017 10:01:38 +0000 (11:01 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:52:55 +0000 (23:52 -0400)
commita5f6b5b1e89067d3de30ae04693f96189cc05aec
tree684912bfdf823793d88fbcf685ab759813b01a73
parente4f0fdcc9c95f415b6ac54d0d309021a17b9b2a8
drm/amdgpu: add support for BO_VAs without BO v2

For PRT support we need mappings which aren't backed by any memory.

v2: fix parameter checking

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c