diff options
author | Mikko Perttunen <mperttunen@nvidia.com> | 2017-06-15 02:18:42 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2017-06-15 14:25:38 +0200 |
commit | 8474b02531c4881a762c52ef869c52429e38633f (patch) | |
tree | 41cdb37fa4e424170bd7670e07ca0981c9f6c81f /include/linux | |
parent | 03f0de770eda7a3f2e3950ca9f15d73e1dfd4596 (diff) | |
download | lwn-8474b02531c4881a762c52ef869c52429e38633f.tar.gz lwn-8474b02531c4881a762c52ef869c52429e38633f.zip |
gpu: host1x: Refactor channel allocation code
This is largely a rewrite of the Host1x channel allocation code, bringing
several changes:
- The previous code could deadlock due to an interaction
between the 'reflock' mutex and CDMA timeout handling.
This gets rid of the mutex.
- Support for more than 32 channels, required for Tegra186
- General refactoring, including better encapsulation
of channel ownership handling into channel.c
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Tested-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/host1x.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/host1x.h b/include/linux/host1x.h index 476da0e06bb2..630b1a98ab58 100644 --- a/include/linux/host1x.h +++ b/include/linux/host1x.h @@ -172,7 +172,6 @@ struct host1x_channel; struct host1x_job; struct host1x_channel *host1x_channel_request(struct device *dev); -void host1x_channel_free(struct host1x_channel *channel); struct host1x_channel *host1x_channel_get(struct host1x_channel *channel); void host1x_channel_put(struct host1x_channel *channel); int host1x_job_submit(struct host1x_job *job); |