diff options
author | Maarten Lankhorst | 2014-01-09 11:03:14 +0100 |
---|---|---|
committer | Maarten Lankhorst | 2014-09-30 14:04:00 +0200 |
commit | b5e9c1a25fcf8a0d664606251a53b5caa6a19d08 (patch) | |
tree | 5cb0d5645e575253779965ecf326b578fa1ce9ca /drivers/gpu/drm/qxl/qxl_prime.c | |
parent | 15a996bbb6978ae21c497aeadfe20deca6ddd07a (diff) |
drm: Pass dma-buf as argument to gem_prime_import_sg_table
Allows importing dma_reservation_objects from a dma-buf.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_prime.c')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_prime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_prime.c b/drivers/gpu/drm/qxl/qxl_prime.c index ba0689c728e8..3d031b50a8fd 100644 --- a/drivers/gpu/drm/qxl/qxl_prime.c +++ b/drivers/gpu/drm/qxl/qxl_prime.c @@ -46,7 +46,7 @@ struct sg_table *qxl_gem_prime_get_sg_table(struct drm_gem_object *obj) } struct drm_gem_object *qxl_gem_prime_import_sg_table( - struct drm_device *dev, size_t size, + struct drm_device *dev, struct dma_buf_attachment *attach, struct sg_table *table) { WARN_ONCE(1, "not implemented"); |