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.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -196,7 +196,7 @@ struct drm_ivpu_bo_create { · 195 unmodified lines | |||
| 196 | * | 196 | * |
| 197 | * %DRM_IVPU_BO_UNCACHED: | 197 | * %DRM_IVPU_BO_UNCACHED: |
| 198 | * | 198 | * |
| 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. |
| 200 | * | 200 | * |
| 201 | * %DRM_IVPU_BO_WC: | 201 | * %DRM_IVPU_BO_WC: |
| 202 | * | 202 | * |