Re: [RFC PATCH 1/1] drm/ttm, drm/xe: Add ttm_bo_access

2024-10-21 Thread Matthew Auld
On 18/10/2024 17:25, Matthew Brost wrote: On Fri, Oct 18, 2024 at 10:08:06AM +0100, Matthew Auld wrote: On 18/10/2024 00:39, Matthew Brost wrote: Non-contiguous VRAM cannot be mapped in Xe nor can non-visible VRAM easily be accessed. Add ttm_bo_access, which is similar to ttm_bo_vm_access, to a

Re: [RFC PATCH 1/1] drm/ttm, drm/xe: Add ttm_bo_access

2024-10-18 Thread Matthew Brost
On Fri, Oct 18, 2024 at 10:08:06AM +0100, Matthew Auld wrote: > On 18/10/2024 00:39, Matthew Brost wrote: > > Non-contiguous VRAM cannot be mapped in Xe nor can non-visible VRAM > > easily be accessed. Add ttm_bo_access, which is similar to > > ttm_bo_vm_access, to access such memory. > > Is the p

Re: [RFC PATCH 1/1] drm/ttm, drm/xe: Add ttm_bo_access

2024-10-18 Thread Matthew Auld
On 18/10/2024 00:39, Matthew Brost wrote: Non-contiguous VRAM cannot be mapped in Xe nor can non-visible VRAM easily be accessed. Add ttm_bo_access, which is similar to ttm_bo_vm_access, to access such memory. Is the plan to roll this out also to object error capture and clear color access? Th

Re: [RFC PATCH 1/1] drm/ttm, drm/xe: Add ttm_bo_access

2024-10-18 Thread Matthew Brost
On Fri, Oct 18, 2024 at 09:27:48AM +0200, Thomas Hellström wrote: > On Thu, 2024-10-17 at 16:39 -0700, Matthew Brost wrote: > > Non-contiguous VRAM cannot be mapped in Xe nor can non-visible VRAM > > easily be accessed. Add ttm_bo_access, which is similar to > > ttm_bo_vm_access, to access such mem

Re: [RFC PATCH 1/1] drm/ttm, drm/xe: Add ttm_bo_access

2024-10-18 Thread Thomas Hellström
On Thu, 2024-10-17 at 16:39 -0700, Matthew Brost wrote: > Non-contiguous VRAM cannot be mapped in Xe nor can non-visible VRAM > easily be accessed. Add ttm_bo_access, which is similar to > ttm_bo_vm_access, to access such memory. > > Visible VRAM access is only supported at the momement but a foll

[RFC PATCH 1/1] drm/ttm, drm/xe: Add ttm_bo_access

2024-10-17 Thread Matthew Brost
Non-contiguous VRAM cannot be mapped in Xe nor can non-visible VRAM easily be accessed. Add ttm_bo_access, which is similar to ttm_bo_vm_access, to access such memory. Visible VRAM access is only supported at the momement but a follow up can add GPU access to non-visible VRAM. Suggested-by: Thoma