accel/ivpu: Remove support for uncached buffers
authorJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Tue, 31 Oct 2023 07:31:55 +0000 (08:31 +0100)
committerJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Wed, 8 Nov 2023 15:27:39 +0000 (16:27 +0100)
commit48d45fac3940347becd290b96b2fc6d5ad8171f7
tree014046e8b51f00ddc85b99aca63539bcccd6045f
parent48aea7f2a2efae6a1bd201061c71a81b3f3b7e55
accel/ivpu: Remove support for uncached buffers

Usages of DRM_IVPU_BO_UNCACHED should be replaced by DRM_IVPU_BO_WC.
There is no functional benefit from DRM_IVPU_BO_UNCACHED if these
buffers are never mapped to host VM.

This allows to cut the buffer handling code in the kernel driver
by half.

Usage of DRM_IVPU_BO_UNCACHED buffers was removed from user-space
driver and will not be part of first UMD release.

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-4-stanislaw.gruszka@linux.intel.com
drivers/accel/ivpu/ivpu_fw.c
drivers/accel/ivpu/ivpu_gem.c
include/uapi/drm/ivpu_accel.h