diff options
author | Rob Clark <robdclark@gmail.com> | 2016-03-16 12:40:35 -0400 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2016-05-08 10:16:02 -0400 |
commit | 79f0e20215bb902352cf7eb31222f4120563775c (patch) | |
tree | 2468ff6c4f4f82a446ec75d739eff7088166c85e /drivers/gpu/drm/msm/msm_drv.h | |
parent | fde5de6cb4617a160a6cc5c034284618350c2961 (diff) | |
download | op-kernel-dev-79f0e20215bb902352cf7eb31222f4120563775c.zip op-kernel-dev-79f0e20215bb902352cf7eb31222f4120563775c.tar.gz |
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_drv.h')
-rw-r--r-- | drivers/gpu/drm/msm/msm_drv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/msm_drv.h b/drivers/gpu/drm/msm/msm_drv.h index 67a1e4c..86b7b37 100644 --- a/drivers/gpu/drm/msm/msm_drv.h +++ b/drivers/gpu/drm/msm/msm_drv.h @@ -208,7 +208,7 @@ int msm_gem_new_handle(struct drm_device *dev, struct drm_file *file, struct drm_gem_object *msm_gem_new(struct drm_device *dev, uint32_t size, uint32_t flags); struct drm_gem_object *msm_gem_import(struct drm_device *dev, - uint32_t size, struct sg_table *sgt); + struct dma_buf *dmabuf, struct sg_table *sgt); int msm_framebuffer_prepare(struct drm_framebuffer *fb, int id); void msm_framebuffer_cleanup(struct drm_framebuffer *fb, int id); |