OSDN Git Service

drm/amdgpu: SHADOW and VRAM_CONTIGUOUS flags shouldn't be used by userspace
authorChristian König <christian.koenig@amd.com>
Wed, 9 Aug 2017 13:33:49 +0000 (15:33 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Aug 2017 19:46:04 +0000 (15:46 -0400)
commitc0573af349f649516863254fad386175777d5672
treed7a1fe903082732c0e9169dedb2d8d6fe08af0aa
parent5b7f8404b217613918a0ebe40ea5511990ab2e35
drm/amdgpu: SHADOW and VRAM_CONTIGUOUS flags shouldn't be used by userspace

The shadow handling isn't implemented completely for userspace BOs and
the kernel sets the VRAM_CONTIGUOUS as necessary.

Signed-off-by: Christian König <christian.koenig@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_gem.c