Revert "drm/panfrost: Use drm_gem_map_offset()"
authorRob Herring <robh@kernel.org>
Wed, 7 Aug 2019 14:52:48 +0000 (10:52 -0400)
committerSean Paul <seanpaul@chromium.org>
Wed, 7 Aug 2019 15:56:48 +0000 (11:56 -0400)
commite6be0a9913c817689b61a7dc36550b80a3b27f62
tree61fd8041a3750c075bae7b346c8690044751b368
parent0a0b65d8eae3eb25dde57f72596b7a7c81a126fa
Revert "drm/panfrost: Use drm_gem_map_offset()"

This reverts commit 583bbf46133c726bae277e8f4e32bfba2a528c7f.

Turns out we need mmap to work on imported BOs even if the current code
is buggy.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sean Paul <sean@poorly.run>
Link: https://patchwork.freedesktop.org/patch/msgid/20190807145253.2037-3-sean@poorly.run
drivers/gpu/drm/panfrost/panfrost_drv.c