drm/msm: Add VM logging for VM_BIND updates
When userspace opts in to VM_BIND, the submit no longer holds references keeping the VMA alive. This makes it difficult to distinguish between UMD/KMD/app bugs. So add a debug option for logging the most recent VM updates and capturing these in GPU devcoredumps. The submitqueue id is also captured, a value of zero means the operation did not go via a submitqueue (ie. comes from msm_gem_vm_close() tearing down the remaining mappings when the device file is closed. Signed-off-by:Rob Clark <robdclark@chromium.org> Signed-off-by:
Rob Clark <robin.clark@oss.qualcomm.com> Tested-by:
Antonino Maniscalco <antomani103@gmail.com> Reviewed-by:
Antonino Maniscalco <antomani103@gmail.com> Patchwork: https://patchwork.freedesktop.org/patch/661518/
Loading
Please sign in to comment