diff options
| author | Thierry Reding <treding@nvidia.com> | 2018-05-16 08:12:33 -0400 |
|---|---|---|
| committer | Thierry Reding <treding@nvidia.com> | 2018-05-18 15:50:24 -0400 |
| commit | bf3d41ccabb53c57e19fcfc8b81d790043ac2bed (patch) | |
| tree | 8b57d3cb9fd23f94921dfa5588998e2723eb5002 /include/linux | |
| parent | 24c94e166dfe89839129b8e0fae208b6af60d6f1 (diff) | |
gpu: host1x: Store pointer to client in jobs
Rather than storing some identifier derived from the application
context that can't be used concretely anywhere, store a pointer to the
client directly so that accesses can be made directly through that
client object.
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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/host1x.h b/include/linux/host1x.h index f66bece1e1b7..0632010f47fb 100644 --- a/include/linux/host1x.h +++ b/include/linux/host1x.h | |||
| @@ -202,7 +202,8 @@ struct host1x_job { | |||
| 202 | /* Channel where job is submitted to */ | 202 | /* Channel where job is submitted to */ |
| 203 | struct host1x_channel *channel; | 203 | struct host1x_channel *channel; |
| 204 | 204 | ||
| 205 | u32 client; | 205 | /* client where the job originated */ |
| 206 | struct host1x_client *client; | ||
| 206 | 207 | ||
| 207 | /* Gathers and their memory */ | 208 | /* Gathers and their memory */ |
| 208 | struct host1x_job_gather *gathers; | 209 | struct host1x_job_gather *gathers; |
