History

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.

Jacek Lawrynowicz committed 3 years ago

Commit 48d45fa1 parent 48aea7f3 files · +2 −5Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/drm/ivpu_accel.h+1−1
@@ -196,7 +196,7 @@ struct drm_ivpu_bo_create { · 195 unmodified lines
196196 *
197197 * %DRM_IVPU_BO_UNCACHED:
198198 *
199− * Allocated BO will not be cached on host side nor snooped on the VPU side.
199+ * Not supported. Use DRM_IVPU_BO_WC instead.
200200 *
201201 * %DRM_IVPU_BO_WC:
202202 *

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t