]> 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)
commit30b7e7bbe072e2b6e38bd03918bc48315f824910
tree07e0b3d8d276f388fa572f6abf82324bc8e4a6fe
parente595c97840fb2432ed45977e0374c479b5c735f4
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