diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2016-01-26 20:10:32 +0300 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2016-01-26 20:54:01 +0300 |
commit | ce3088fdb51eda7b9ef3d119e7c302c08428f274 (patch) | |
tree | bd77fa012aff473ccf8ff13a0bbf8478840fdec4 /drivers/gpu/drm/etnaviv/etnaviv_drv.h | |
parent | 9f07bb0d4ada68f05b2e51c10720d4688e6adea4 (diff) | |
download | linux-ce3088fdb51eda7b9ef3d119e7c302c08428f274.tar.xz |
drm/etnaviv: rename etnaviv_gem_vaddr to etnaviv_gem_vmap
This function follows the semantics of vmap() by returning
NULL in case of an error. To make things less confusing
rename it to make make both functions more closely related.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/etnaviv/etnaviv_drv.h')
-rw-r--r-- | drivers/gpu/drm/etnaviv/etnaviv_drv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_drv.h b/drivers/gpu/drm/etnaviv/etnaviv_drv.h index d6bd438bd5be..1cd6046e76b1 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_drv.h +++ b/drivers/gpu/drm/etnaviv/etnaviv_drv.h @@ -85,7 +85,7 @@ struct drm_gem_object *etnaviv_gem_prime_import_sg_table(struct drm_device *dev, struct dma_buf_attachment *attach, struct sg_table *sg); int etnaviv_gem_prime_pin(struct drm_gem_object *obj); void etnaviv_gem_prime_unpin(struct drm_gem_object *obj); -void *etnaviv_gem_vaddr(struct drm_gem_object *obj); +void *etnaviv_gem_vmap(struct drm_gem_object *obj); int etnaviv_gem_cpu_prep(struct drm_gem_object *obj, u32 op, struct timespec *timeout); int etnaviv_gem_cpu_fini(struct drm_gem_object *obj); |