drm/amdgpu: simplify pinning into visible VRAM
authorChristian König <[email protected]>
Mon, 11 Sep 2017 15:29:26 +0000 (17:29 +0200)
committerAlex Deucher <[email protected]>
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 <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c