gpu: host1x: Do not leak BO's phys address to userspace
authorDmitry Osipenko <digetx@gmail.com>
Wed, 14 Jun 2017 23:18:34 +0000 (02:18 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 15 Jun 2017 12:22:03 +0000 (14:22 +0200)
commit47f89c10ddc439638bc0ea51a7f9872e1b7734ce
tree7ab65df4ce791b1a259278671faa1df7e93eec69
parente5855aa3e681bc417165604212c061e1c4b7cbda
gpu: host1x: Do not leak BO's phys address to userspace

Perform gathers coping before patching them, so that original gathers are
left untouched. That's not as bad as leaking kernel addresses, but still
doesn't feel right.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/job.c