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_dump.c | |
parent | 9f07bb0d4ada68f05b2e51c10720d4688e6adea4 (diff) | |
download | op-kernel-dev-ce3088fdb51eda7b9ef3d119e7c302c08428f274.zip op-kernel-dev-ce3088fdb51eda7b9ef3d119e7c302c08428f274.tar.gz |
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_dump.c')
-rw-r--r-- | drivers/gpu/drm/etnaviv/etnaviv_dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_dump.c b/drivers/gpu/drm/etnaviv/etnaviv_dump.c index 09a759e..4a29eea 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_dump.c +++ b/drivers/gpu/drm/etnaviv/etnaviv_dump.c @@ -215,7 +215,7 @@ void etnaviv_core_dump(struct etnaviv_gpu *gpu) iter.hdr->iova = cpu_to_le64(vram->iova); - vaddr = etnaviv_gem_vaddr(&obj->base); + vaddr = etnaviv_gem_vmap(&obj->base); if (vaddr) memcpy(iter.data, vaddr, obj->base.size); |