diff options
author | Mikko Perttunen <mperttunen@nvidia.com> | 2022-06-27 16:19:48 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2022-07-08 16:27:52 +0200 |
commit | 8aa5bcb61612060429223d1fbb7a1c30a579fc1f (patch) | |
tree | 2e09643084d8c033217ebc5c397a35ea450aefd7 /drivers/gpu/host1x/dev.h | |
parent | dt-bindings: host1x: Fix bracketing in example (diff) | |
download | linux-8aa5bcb61612060429223d1fbb7a1c30a579fc1f.tar.xz linux-8aa5bcb61612060429223d1fbb7a1c30a579fc1f.zip |
gpu: host1x: Add context device management code
Add code to register context devices from device tree, allocate them
out and manage their refcounts.
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x/dev.h')
-rw-r--r-- | drivers/gpu/host1x/dev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/host1x/dev.h b/drivers/gpu/host1x/dev.h index ca4b082f0cd4..7552a4554534 100644 --- a/drivers/gpu/host1x/dev.h +++ b/drivers/gpu/host1x/dev.h @@ -14,6 +14,7 @@ #include "cdma.h" #include "channel.h" +#include "context.h" #include "intr.h" #include "job.h" #include "syncpt.h" @@ -141,6 +142,7 @@ struct host1x { struct mutex syncpt_mutex; struct host1x_channel_list channel_list; + struct host1x_memory_context_list context_list; struct dentry *debugfs; |