OSDN Git Service

drm/amdgpu: expose AMDGPU_GEM_CREATE_VRAM_CLEARED to user space
authorFlora Cui <Flora.Cui@amd.com>
Wed, 20 Jul 2016 06:44:38 +0000 (14:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Aug 2016 15:33:01 +0000 (11:33 -0400)
commit4fea83ff0f61676389b17803365c1e8d2b652183
tree5300abfc5efc83fea9966f4b6cadbe0343248772
parent59b4a97742888d9d3c4daa96bd15157ebd496f81
drm/amdgpu: expose AMDGPU_GEM_CREATE_VRAM_CLEARED to user space

V2: fix the return value for fill failure and validate bo before
filling data

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Flora Cui <Flora.Cui@amd.com>
Reviewed-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
include/uapi/drm/amdgpu_drm.h