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.

Change-Id: Iffa3f098814bcdd3ae760a05cb013c3c0c804ad5
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3284406
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Santosh BS <santoshb@nvidia.com>
This commit is contained in:
Mikko Perttunen
2025-01-16 02:32:21 +00:00
committed by Jon Hunter
parent 48e383a1b9
commit 5362309e7f
2 changed files with 37 additions and 5 deletions

View File

@@ -516,6 +516,7 @@ struct host1x_memory_context {
struct pid *pid;
refcount_t ref;
bool static_alloc;
struct host1x_hw_memory_context *hw;
struct device *context_dev; /* Context device */