diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2016-08-17 15:16:57 +0200 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2016-09-15 15:29:38 +0200 |
commit | b88163e36c0256e182447eecffba5f4b2a3f413e (patch) | |
tree | bf24ec618d52c307ac254d3487028bb32245a723 /drivers/gpu/drm/etnaviv/etnaviv_gpu.h | |
parent | e07c0db5e84a5f1a16af8567d5fdde2ca6d2c80e (diff) | |
download | op-kernel-dev-b88163e36c0256e182447eecffba5f4b2a3f413e.zip op-kernel-dev-b88163e36c0256e182447eecffba5f4b2a3f413e.tar.gz |
drm/etnaviv: split out wait for gpu idle
Split out into a new externally visible function, as the IOMMUv2
code needs this functionality, too.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/etnaviv/etnaviv_gpu.h')
-rw-r--r-- | drivers/gpu/drm/etnaviv/etnaviv_gpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_gpu.h b/drivers/gpu/drm/etnaviv/etnaviv_gpu.h index a69cdd5..303450b 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_gpu.h +++ b/drivers/gpu/drm/etnaviv/etnaviv_gpu.h @@ -214,6 +214,7 @@ struct etnaviv_cmdbuf *etnaviv_gpu_cmdbuf_new(struct etnaviv_gpu *gpu, void etnaviv_gpu_cmdbuf_free(struct etnaviv_cmdbuf *cmdbuf); int etnaviv_gpu_pm_get_sync(struct etnaviv_gpu *gpu); void etnaviv_gpu_pm_put(struct etnaviv_gpu *gpu); +int etnaviv_gpu_wait_idle(struct etnaviv_gpu *gpu, unsigned int timeout_ms); extern struct platform_driver etnaviv_gpu_driver; |