drm/vc4: Don set gem_obj->resv in prime import anymore
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Jun 2019 20:36:03 +0000 (22:36 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 25 Jun 2019 16:12:57 +0000 (18:12 +0200)
This is done in drm_prime.c now.

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: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20190614203615.12639-48-daniel.vetter@ffwll.ch
drivers/gpu/drm/vc4/vc4_bo.c

index b0f9eb6632a2f83f5f3365b03bedae15c51eece4..707bcd9927f3a9d824b52ccbcf46edc0c554871d 100644 (file)
@@ -793,8 +793,6 @@ vc4_prime_import_sg_table(struct drm_device *dev,
        if (IS_ERR(obj))
                return obj;
 
-       obj->resv = attach->dmabuf->resv;
-
        return obj;
 }