aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/msm_gem.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2025-06-29 20:13:16 +0000
committerRob Clark <[email protected]>2025-07-05 00:48:37 +0000
commite601ea31d66ba83d565cae9cfa45cbbcdd8286dd (patch)
tree7a44d3d41164c01c371f58b0c21d3a5c6458d9dd /drivers/gpu/drm/msm/msm_gem.h
parentdrm/msm: Support IO_PGTABLE_QUIRK_NO_WARN_ON (diff)
downloadkernel-e601ea31d66ba83d565cae9cfa45cbbcdd8286dd.tar.gz
kernel-e601ea31d66ba83d565cae9cfa45cbbcdd8286dd.zip
drm/msm: Support pgtable preallocation
Introduce a mechanism to count the worst case # of pages required in a VM_BIND op. Note that previously we would have had to somehow account for allocations in unmap, when splitting a block. This behavior was removed in commit 33729a5fc0ca ("iommu/io-pgtable-arm: Remove split on unmap behavior)" 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/661515/
Diffstat (limited to 'drivers/gpu/drm/msm/msm_gem.h')
-rw-r--r--drivers/gpu/drm/msm/msm_gem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_gem.h b/drivers/gpu/drm/msm/msm_gem.h
index af637409be39..f369a30a247c 100644
--- a/drivers/gpu/drm/msm/msm_gem.h
+++ b/drivers/gpu/drm/msm/msm_gem.h
@@ -7,6 +7,7 @@
#ifndef __MSM_GEM_H__
#define __MSM_GEM_H__
+#include "msm_mmu.h"
#include <linux/kref.h>
#include <linux/dma-resv.h>
#include "drm/drm_exec.h"