diff options
author | Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> | 2023-10-31 08:31:56 +0100 |
---|---|---|
committer | Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> | 2023-11-08 16:27:43 +0100 |
commit | 8d88e4cdce4f5c56de55174a4d32ea9c06f7fa66 (patch) | |
tree | ce6246b08bb3fb15aae012100df70d94a3f61ba4 /drivers/accel/ivpu/Kconfig | |
parent | accel/ivpu: Remove support for uncached buffers (diff) | |
download | linux-8d88e4cdce4f5c56de55174a4d32ea9c06f7fa66.tar.gz linux-8d88e4cdce4f5c56de55174a4d32ea9c06f7fa66.tar.bz2 linux-8d88e4cdce4f5c56de55174a4d32ea9c06f7fa66.zip |
accel/ivpu: Use GEM shmem helper for all buffers
Use struct drm_gem_shmem_object as a base for struct ivpu_bo.
This cuts by 50% the buffer management code.
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-5-stanislaw.gruszka@linux.intel.com
Diffstat (limited to 'drivers/accel/ivpu/Kconfig')
-rw-r--r-- | drivers/accel/ivpu/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/accel/ivpu/Kconfig b/drivers/accel/ivpu/Kconfig index 82749e0da524..682c53245286 100644 --- a/drivers/accel/ivpu/Kconfig +++ b/drivers/accel/ivpu/Kconfig @@ -6,7 +6,7 @@ config DRM_ACCEL_IVPU depends on X86_64 && !UML depends on PCI && PCI_MSI select FW_LOADER - select SHMEM + select DRM_GEM_SHMEM_HELPER select GENERIC_ALLOCATOR help Choose this option if you have a system with an 14th generation |