diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-07-10 09:23:35 -0400 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-07-17 09:44:01 -0400 |
commit | ffb40400762d86a34318160e8f2169b66f01473d (patch) | |
tree | aaf0de8a6d918f7f8bd49827b365f3a4a0947c47 | |
parent | 58cbd3ac09b939ac613dfd4ac9d10bc6f7769f48 (diff) |
drm/rcar-du: Use the GEM PRIME helpers
The GEM CMA PRIME import/export helpers have been removed in favor of
generic GEM PRIME helpers with GEM CMA low-level operations. Fix the
driver accordingly.
Reported-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | drivers/gpu/drm/rcar-du/rcar_du_drv.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c b/drivers/gpu/drm/rcar-du/rcar_du_drv.c index ff82877de876..dc0fe09b2ba1 100644 --- a/drivers/gpu/drm/rcar-du/rcar_du_drv.c +++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.c | |||
@@ -249,8 +249,13 @@ static struct drm_driver rcar_du_driver = { | |||
249 | .gem_vm_ops = &drm_gem_cma_vm_ops, | 249 | .gem_vm_ops = &drm_gem_cma_vm_ops, |
250 | .prime_handle_to_fd = drm_gem_prime_handle_to_fd, | 250 | .prime_handle_to_fd = drm_gem_prime_handle_to_fd, |
251 | .prime_fd_to_handle = drm_gem_prime_fd_to_handle, | 251 | .prime_fd_to_handle = drm_gem_prime_fd_to_handle, |
252 | .gem_prime_import = drm_gem_cma_dmabuf_import, | 252 | .gem_prime_import = drm_gem_prime_import, |
253 | .gem_prime_export = drm_gem_cma_dmabuf_export, | 253 | .gem_prime_export = drm_gem_prime_export, |
254 | .gem_prime_get_sg_table = drm_gem_cma_prime_get_sg_table, | ||
255 | .gem_prime_import_sg_table = drm_gem_cma_prime_import_sg_table, | ||
256 | .gem_prime_vmap = drm_gem_cma_prime_vmap, | ||
257 | .gem_prime_vunmap = drm_gem_cma_prime_vunmap, | ||
258 | .gem_prime_mmap = drm_gem_cma_prime_mmap, | ||
254 | .dumb_create = rcar_du_dumb_create, | 259 | .dumb_create = rcar_du_dumb_create, |
255 | .dumb_map_offset = drm_gem_cma_dumb_map_offset, | 260 | .dumb_map_offset = drm_gem_cma_dumb_map_offset, |
256 | .dumb_destroy = drm_gem_cma_dumb_destroy, | 261 | .dumb_destroy = drm_gem_cma_dumb_destroy, |