diff options
| author | Jacek Lawrynowicz <[email protected]> | 2023-09-01 11:49:54 +0200 |
|---|---|---|
| committer | Stanislaw Gruszka <[email protected]> | 2023-10-12 12:54:51 +0200 |
| commit | a18f17248944fb068283c4bf819758fb0c9c987b (patch) | |
| tree | 152a0402fd7aa6083dbe97ee2386fac091ae93f0 /tools/perf/scripts/python | |
| parent | c395c83aafbb9cdbe4230f044d5b8eaf9080c0c5 (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')
0 files changed, 0 insertions, 0 deletions