aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorJacek Lawrynowicz <[email protected]>2023-09-01 11:49:54 +0200
committerStanislaw Gruszka <[email protected]>2023-10-12 12:54:51 +0200
commita18f17248944fb068283c4bf819758fb0c9c987b (patch)
tree152a0402fd7aa6083dbe97ee2386fac091ae93f0 /tools/perf/scripts/python/netdev-times.py
parentc395c83aafbb9cdbe4230f044d5b8eaf9080c0c5 (diff)
accel/ivpu: Add ivpu_bo_vaddr() and ivpu_bo_size()
Use: - ivpu_bo_vaddr(bo) instead of bo->kvaddr - ivpu_bo_size(bo) instead of bo->base.size This is a preparation for switch to a drm_gem_shmem_object as a base for ivpu_bo, where: - bo->kvaddr becomes bo->base.vaddr - bo->base.size becomes bo->base.base.size Using ivpu_bo_vaddr() and ivpu_bo_size() increases the readability of the code. Signed-off-by: Jacek Lawrynowicz <[email protected]> Reviewed-by: Stanislaw Gruszka <[email protected]> Reviewed-by: Jeffrey Hugo <[email protected]> Signed-off-by: Stanislaw Gruszka <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions