]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: host1x: Store pointer to client in jobs
authorThierry Reding <treding@nvidia.com>
Wed, 16 May 2018 12:12:33 +0000 (14:12 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 18 May 2018 19:50:24 +0000 (21:50 +0200)
commit361e8b58e5420ee3d6f590403b26b7b4293d8804
tree8b57d3cb9fd23f94921dfa5588998e2723eb5002
parent6f07762ddbf1c54a0748d66f6de9338a97b6dccc
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>
drivers/gpu/drm/tegra/drm.c
drivers/gpu/host1x/cdma.c
drivers/gpu/host1x/cdma.h
include/linux/host1x.h