diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2019-06-14 23:36:02 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2019-06-25 19:12:57 +0300 |
commit | 0ecaea14843e7b3d6aa53e86141d5e43136e71ca (patch) | |
tree | 07429212622ba36ee2ad06a2cff0a8063c349e41 | |
parent | 2a11d881255ba71ed13602a979250bdad7465889 (diff) | |
download | linux-0ecaea14843e7b3d6aa53e86141d5e43136e71ca.tar.xz |
drm/panfrost: don't set gem_obj->resv for prime import anymore
This is now done in drm_prime.c
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190614203615.12639-47-daniel.vetter@ffwll.ch
-rw-r--r-- | drivers/gpu/drm/panfrost/panfrost_gem.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/panfrost/panfrost_gem.c b/drivers/gpu/drm/panfrost/panfrost_gem.c index 886875ae31d3..590d378fab1b 100644 --- a/drivers/gpu/drm/panfrost/panfrost_gem.c +++ b/drivers/gpu/drm/panfrost/panfrost_gem.c @@ -91,8 +91,6 @@ panfrost_gem_prime_import_sg_table(struct drm_device *dev, pobj = to_panfrost_bo(obj); - obj->resv = attach->dmabuf->resv; - panfrost_mmu_map(pobj); return obj; |