summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMikko Perttunen <mperttunen@nvidia.com>2026-07-10 16:14:32 +0900
committerThierry Reding <treding@nvidia.com>2026-10-02 01:01:40 +0200
commitb9110d86fa4ff96f3a7ecee0729f111149acc805 (patch)
treeebc6ba86130a724b7632e7fca11c4eeab0f02a65 /include/linux
parent6eb92f5520b8c0b97c3317f622a2b69bcde75395 (diff)
gpu: host1x: Add option for disabling context stealing
Add kernel module parameter to allow disabling context stealing in cases where reliability and consistency is preferred. Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Link: https://patch.msgid.link/20260710-b4-host1x-ctxsteal-v1-2-b1f8f6b37cc5@nvidia.com
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/host1x.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/host1x.h b/include/linux/host1x.h
index 223345fdb1ab..8ebfb0d6f684 100644
--- a/include/linux/host1x.h
+++ b/include/linux/host1x.h
@@ -469,6 +469,7 @@ struct host1x_memory_context {
struct pid *pid;
refcount_t ref;
+ bool static_alloc;
struct host1x_hw_memory_context *hw;
struct list_head entry; /* Entry in hw_memory_context's list */