summaryrefslogtreecommitdiff
path: root/drivers/accel/ivpu/ivpu_mmu_context.h
diff options
context:
space:
mode:
authorJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>2023-10-31 10:31:53 +0300
committerJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>2023-11-08 18:26:34 +0300
commitb035224134626f506c1af73ca32bbc64dd2925ad (patch)
treee5b11469fe6aced287372de1595f2db2195e9f78 /drivers/accel/ivpu/ivpu_mmu_context.h
parent89d04995f76ce8318fe752feb33b1a45893b1a38 (diff)
downloadlinux-b035224134626f506c1af73ca32bbc64dd2925ad.tar.xz
accel/ivpu: Allocate vpu_addr in gem->open() callback
Use gem->open() callback to simplify the code and prepare for gem_shmem conversion. It is called during handle creation for a gem object, during prime import and in BO_CREATE ioctl. Hence can be used for vpu_addr allocation. On the way remove unused bo->user_ptr field. Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com> Link: https://patchwork.freedesktop.org/patch/msgid/20231031073156.1301669-2-stanislaw.gruszka@linux.intel.com
Diffstat (limited to 'drivers/accel/ivpu/ivpu_mmu_context.h')
0 files changed, 0 insertions, 0 deletions