OSDN Git Service

amdgpu: validate the upper limit of virtual address v2
authorJammy Zhou <Jammy.Zhou@amd.com>
Tue, 12 May 2015 17:14:11 +0000 (01:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Aug 2015 17:47:49 +0000 (13:47 -0400)
commit241cf6d1051718a481c61b469171a34c0ca718a4
treec48cadc94b9b0286e859ba38068a408abc689fe3
parentdb126d1d8a764b9d3ad322779b13904867b14e5c
amdgpu: validate the upper limit of virtual address v2

Only 8GB virtual address space is used by default now

v2: use -ENOSPC for the error case

Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com>
amdgpu/amdgpu_bo.c
amdgpu/amdgpu_internal.h
amdgpu/amdgpu_vamgr.c
include/drm/amdgpu_drm.h