Re: [PATCH 1/2] drm/amdgpu: Add debug bit for userptr usage

2025-04-28 Thread Christian König
On 4/24/25 07:54, Shane Xiao wrote: > In VM debug mode, it is desirable to notify the application > to correct the freeing sequence by unmapping the memory before > destroying the userptr in the old userptr path. Add a bitmask > to decide whether to send gpu vm fault to the applition. > > Signed-o

[PATCH 1/2] drm/amdgpu: Add debug bit for userptr usage

2025-04-24 Thread Shane Xiao
In VM debug mode, it is desirable to notify the application to correct the freeing sequence by unmapping the memory before destroying the userptr in the old userptr path. Add a bitmask to decide whether to send gpu vm fault to the applition. Signed-off-by: Shane Xiao --- drivers/gpu/drm/amd/amdg

[PATCH 1/2] drm/amdgpu: Add debug bit for userptr usage

2025-04-23 Thread Shane Xiao
In VM debug mode, it is desirable to notify the application to correct the freeing sequence by unmapping the memory before destroying the userptr in the old userptr path. Add a bitmask to decide whether to send gpu vm fault to the applition. Signed-off-by: Shane Xiao --- drivers/gpu/drm/amd/amdg