summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2022-09-23 10:37:39 +0200
committerThierry Reding <treding@nvidia.com>2022-09-23 10:37:39 +0200
commit778bed334508b6da340e2a9301c643318fca3b65 (patch)
tree234a68abb3efe9f64679d0e3f65ecb6989243e62
parent108fb15dfbb1ee7818e1ff70fd1d1ec3433b2db1 (diff)
gpu: host1x: Update host1x_memory_context_alloc() !IOMMU_API stubfor-next
A new parameter was added to the host1x_memory_context_alloc() function in commit 1508aa73ea38 ("gpu: host1x: Select context device based on attached IOMMU"), but the !IOMMU_API stub signature wasn't updated to reflect that. Update the stub's signature to fix random configuration builds. Fixes: 1508aa73ea38 ("gpu: host1x: Select context device based on attached IOMMU") Signed-off-by: Thierry Reding <treding@nvidia.com>
-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 ef05de1f4f1e..dc55d9d3b94f 100644
--- a/include/linux/host1x.h
+++ b/include/linux/host1x.h
@@ -475,6 +475,7 @@ void host1x_memory_context_get(struct host1x_memory_context *cd);
void host1x_memory_context_put(struct host1x_memory_context *cd);
#else
static inline struct host1x_memory_context *host1x_memory_context_alloc(struct host1x *host1x,
+ struct device *dev,
struct pid *pid)
{
return NULL;