diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2016-01-26 18:10:32 +0100 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2016-01-26 18:54:01 +0100 |
commit | ce3088fdb51eda7b9ef3d119e7c302c08428f274 (patch) | |
tree | bd77fa012aff473ccf8ff13a0bbf8478840fdec4 /drivers/gpu/drm/etnaviv/etnaviv_gem.c | |
parent | drm/etnaviv: fix get pages error path in etnaviv_gem_vaddr (diff) | |
download | linux-ce3088fdb51eda7b9ef3d119e7c302c08428f274.tar.xz linux-ce3088fdb51eda7b9ef3d119e7c302c08428f274.zip |
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_gem.c')
-rw-r--r-- | drivers/gpu/drm/etnaviv/etnaviv_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_gem.c b/drivers/gpu/drm/etnaviv/etnaviv_gem.c index b22712fdd31e..1da3d48054c2 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_gem.c +++ b/drivers/gpu/drm/etnaviv/etnaviv_gem.c @@ -353,7 +353,7 @@ void etnaviv_gem_put_iova(struct etnaviv_gpu *gpu, struct drm_gem_object *obj) drm_gem_object_unreference_unlocked(obj); } -void *etnaviv_gem_vaddr(struct drm_gem_object *obj) +void *etnaviv_gem_vmap(struct drm_gem_object *obj) { struct etnaviv_gem_object *etnaviv_obj = to_etnaviv_bo(obj); |