Searched hist:f08ef2d1a1a9aaa756823e847f9eb74f3658393a (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/gpu/host1x/ |
H A D | job.c | diff f08ef2d1a1a9aaa756823e847f9eb74f3658393a Tue Nov 08 18:51:32 CET 2016 Arto Merilainen <amerilainen@nvidia.com> gpu: host1x: Store device address to all bufs
Currently job pinning is optimized to handle only the first buffer using a certain host1x_bo object and all subsequent buffers using the same host1x_bo are considered done.
In most cases this is correct, however, in case the same host1x_bo is used in multiple gathers inside the same job, we skip also storing the device address (physical or iova) to this buffer.
This patch reworks the host1x_job_pin() to store the device address to all gathers.
Signed-off-by: Andrew Chew <achew@nvidia.com> Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
|