diff options
| author | Rob Clark <[email protected]> | 2025-06-29 20:12:50 +0000 |
|---|---|---|
| committer | Rob Clark <[email protected]> | 2025-07-04 18:09:44 +0000 |
| commit | eab7766c79fd472d33a3a73a0d301cfe8a7c7246 (patch) | |
| tree | 1d7452e6cc0d31b208ce52b3c04a95eccb8dce4c /drivers/gpu/drm/msm/msm_gpu.c | |
| parent | drm/msm: Rename msm_gem_address_space -> msm_gem_vm (diff) | |
| download | kernel-eab7766c79fd472d33a3a73a0d301cfe8a7c7246.tar.gz kernel-eab7766c79fd472d33a3a73a0d301cfe8a7c7246.zip | |
drm/msm: Remove vram carveout support
It is standing in the way of drm_gpuvm / VM_BIND support. Not to
mention frequently broken and rarely tested. And I think only needed
for a 10yr old not quite upstream SoC (msm8974).
Maybe we can add support back in later, but I'm doubtful.
Signed-off-by: Rob Clark <[email protected]>
Signed-off-by: Rob Clark <[email protected]>
Tested-by: Antonino Maniscalco <[email protected]>
Reviewed-by: Antonino Maniscalco <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/661467/
Diffstat (limited to 'drivers/gpu/drm/msm/msm_gpu.c')
| -rw-r--r-- | drivers/gpu/drm/msm/msm_gpu.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/gpu/drm/msm/msm_gpu.c b/drivers/gpu/drm/msm/msm_gpu.c index 3400a6ca8fd8..47268aae7d54 100644 --- a/drivers/gpu/drm/msm/msm_gpu.c +++ b/drivers/gpu/drm/msm/msm_gpu.c @@ -942,12 +942,8 @@ int msm_gpu_init(struct drm_device *drm, struct platform_device *pdev, msm_devfreq_init(gpu); - gpu->vm = gpu->funcs->create_vm(gpu, pdev); - - if (gpu->vm == NULL) - DRM_DEV_INFO(drm->dev, "%s: no IOMMU, fallback to VRAM carveout!\n", name); - else if (IS_ERR(gpu->vm)) { + if (IS_ERR(gpu->vm)) { ret = PTR_ERR(gpu->vm); goto fail; } |
