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)
commita0a5ab3e99b8e617221caabf074dcabd1659b9d8
tree07e0b3d8d276f388fa572f6abf82324bc8e4a6fe
parentce3088fdb51eda7b9ef3d119e7c302c08428f274
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