drm/etnaviv: get cmdbuf physical address through the cmdbuf abstraction
authorLucas Stach <l.stach@pengutronix.de>
Mon, 16 Jan 2017 16:00:08 +0000 (17:00 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Thu, 2 Feb 2017 09:30:27 +0000 (10:30 +0100)
commit9912b4db7beae07cfa8d435530cddf375873c6f3
tree88bb25244b988fff0bfb6c8e51e156cbdb983b2a
parentc3ef4b8c3e108397980014a4616c56f50026d547
drm/etnaviv: get cmdbuf physical address through the cmdbuf abstraction

Don't allow IOMMUv2 to peek directly into the cmdbuf, but get the
needed PA through a dedicated function.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c
drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.h
drivers/gpu/drm/etnaviv/etnaviv_drv.c
drivers/gpu/drm/etnaviv/etnaviv_iommu_v2.c