drm/amdgpu: fix "mitigate workaround for i915"
authorChristian König <christian.koenig@amd.com>
Wed, 21 Mar 2018 12:58:05 +0000 (13:58 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Mar 2018 20:04:03 +0000 (15:04 -0500)
commit2333bf9ad960eb78a3ce5de6943c2b725e50e69b
treebaa7269f14688fa5eeae8b807c4c36ae033ae16c
parent3296c4ae9769cab837799c0f873a1b281f4a156e
drm/amdgpu: fix "mitigate workaround for i915"

Mixed up exporter and importer here. E.g. while mapping the BO we need
to check the importer not the exporter.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=105633
Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Tested-by: Mike Lothian <mike@fireburn.co.uk>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c