diff options
author | Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> | 2023-10-31 10:31:53 +0300 |
---|---|---|
committer | Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> | 2023-11-08 18:26:34 +0300 |
commit | b035224134626f506c1af73ca32bbc64dd2925ad (patch) | |
tree | e5b11469fe6aced287372de1595f2db2195e9f78 /drivers/hwmon | |
parent | 89d04995f76ce8318fe752feb33b1a45893b1a38 (diff) | |
download | linux-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/hwmon')
0 files changed, 0 insertions, 0 deletions