diff options
author | Rob Clark <robdclark@gmail.com> | 2016-03-16 19:40:35 +0300 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2016-05-08 17:16:02 +0300 |
commit | 79f0e20215bb902352cf7eb31222f4120563775c (patch) | |
tree | 2468ff6c4f4f82a446ec75d739eff7088166c85e /drivers/gpu/drm/msm/msm_gem_prime.c | |
parent | fde5de6cb4617a160a6cc5c034284618350c2961 (diff) | |
download | linux-79f0e20215bb902352cf7eb31222f4120563775c.tar.xz |
drm/msm: use imported dmabuf's reservation object
This was always the intention, but somehow it was never wired up
properly.
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_gem_prime.c')
-rw-r--r-- | drivers/gpu/drm/msm/msm_gem_prime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/msm_gem_prime.c b/drivers/gpu/drm/msm/msm_gem_prime.c index 121975b07cd4..6b90890faffe 100644 --- a/drivers/gpu/drm/msm/msm_gem_prime.c +++ b/drivers/gpu/drm/msm/msm_gem_prime.c @@ -55,7 +55,7 @@ int msm_gem_prime_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma) struct drm_gem_object *msm_gem_prime_import_sg_table(struct drm_device *dev, struct dma_buf_attachment *attach, struct sg_table *sg) { - return msm_gem_import(dev, attach->dmabuf->size, sg); + return msm_gem_import(dev, attach->dmabuf, sg); } int msm_gem_prime_pin(struct drm_gem_object *obj) |