drm/amdgpu: set f_mapping on exported DMA-bufs
authorChristian König <christian.koenig@amd.com>
Mon, 13 Nov 2017 16:20:50 +0000 (17:20 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
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 <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c