]> git.baikalelectronics.ru Git - kernel.git/commit
drm/etnaviv: call correct function when trying to vmap a DMABUF
authorLucas Stach <l.stach@pengutronix.de>
Mon, 25 Jan 2016 14:47:28 +0000 (15:47 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Tue, 26 Jan 2016 17:54:01 +0000 (18:54 +0100)
commit2489b09ade9004b17172c0679b6d5becbb9dd400
tree07e0b3d8d276f388fa572f6abf82324bc8e4a6fe
parentb67051076362cf8342a21754628acb5c54aa3b64
drm/etnaviv: call correct function when trying to vmap a DMABUF

When trying to get the vmap address of an imported buffer, we must
call into the appropriate helper function, to allow the exporter to
establish the vmap, instead of trying to vmap the buffer on our own.

Add an indirection through etnaviv_gem_ops to allow the correct
implementation to be called.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_gem.c
drivers/gpu/drm/etnaviv/etnaviv_gem.h
drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c