]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/msm: Lazily create context VM
authorRob Clark <robdclark@chromium.org>
Sun, 29 Jun 2025 20:13:04 +0000 (13:13 -0700)
committerRob Clark <robin.clark@oss.qualcomm.com>
Sat, 5 Jul 2025 00:48:36 +0000 (17:48 -0700)
commit6bf32afd37eb6806403eff8b8e5c85ccf5723c9b
treec85e7181e88130402bac17583cd260ff2b36f6e1
parent5b5582c6b8845cb11e7c62443b0b243953f716da
drm/msm: Lazily create context VM

In the next commit, a way for userspace to opt-in to userspace managed
VM is added.  For this to work, we need to defer creation of the VM
until it is needed.

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/661490/
drivers/gpu/drm/msm/adreno/a6xx_gpu.c
drivers/gpu/drm/msm/adreno/adreno_gpu.c
drivers/gpu/drm/msm/msm_drv.c
drivers/gpu/drm/msm/msm_gem_submit.c
drivers/gpu/drm/msm/msm_gpu.h