drm/amdgpu: set f_mapping on exported DMA-bufs
authorChristian König <[email protected]>
Mon, 13 Nov 2017 16:20:50 +0000 (17:20 +0100)
committerAlex Deucher <[email protected]>
Tue, 14 Nov 2017 16:35:43 +0000 (11:35 -0500)
commit4b277247b1df177a7a60f0601ebe3dc952e5dd54
tree9c9ce67937b0c0cc01bcce778d54c4a200673984
parentc5066129af4436ab0da8eefe4289774a5409706d
drm/amdgpu: set f_mapping on exported DMA-bufs

Otherwise we can't correctly CPU map TTM buffers.

Signed-off-by: Christian König <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c