commit | 4c6f3196e6ea111c456c6086dc3f57d4706b0b2d | [log] [tgz] |
---|---|---|
author | Alexandre Courbot <acourbot@chromium.org> | Mon Jul 29 14:33:34 2019 +0900 |
committer | CK Hu <ck.hu@mediatek.com> | Thu Aug 15 07:43:45 2019 +0800 |
tree | ff297572bce266628c87b9d609d5ff2b67e81e7d | |
parent | 5f9e832c137075045d15cd6899ab0505cfb2ca4b [diff] |
drm/mediatek: use correct device to import PRIME buffers PRIME buffers should be imported using the DMA device. To this end, use a custom import function that mimics drm_gem_prime_import_dev(), but passes the correct device. Fixes: 119f5173628aa ("drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.") Signed-off-by: Alexandre Courbot <acourbot@chromium.org> Signed-off-by: CK Hu <ck.hu@mediatek.com>