[PATCH v5 3/9] drm/xe: Add xe_ttm_access_memory

Matthew Auld matthew.auld at intel.com
Thu Oct 24 08:52:55 UTC 2024


On 21/10/2024 22:18, Matthew Brost wrote:
> Non-contiguous VRAM cannot easily be mapped in TTM nor can non-visible
> VRAM easily be accessed. Add xe_ttm_access_memory which hooks into
> ttm_bo_access to access such memory.
> 
> v4:
>   - Assert memory access rather than taking RPM ref (Thomas / Auld)
>   - Fix warning on xe_res_cursor.h for non-zero offset (Mika)
> 
> Reported-by: Christoph Manszewski <christoph.manszewski at intel.com>
> Suggested-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
> Signed-off-by: Matthew Brost <matthew.brost at intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-xe mailing list