OSDN Git Service

drm/amdgpu: simplify pinning into visible VRAM
authorChristian König <christian.koenig@amd.com>
Mon, 11 Sep 2017 15:29:26 +0000 (17:29 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 19:14:25 +0000 (15:14 -0400)
commite9c7577c09b5062a4f1464b8ef4472c14bdfd2e7
treebeeb188b97a86eac83b003617f3a0cb36904dc2f
parentc833d8aa4d829e858f1be8f4bd82a1503b611013
drm/amdgpu: simplify pinning into visible VRAM

Just set the CPU access required flag when we pin it.

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_object.c