linux-stable/drivers/gpu/host1x
Arto Merilainen f08ef2d1a1 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>
2016-11-11 15:21:07 +01:00
..
hw gpu: host1x: Remove redundant parentheses 2016-06-23 11:59:31 +02:00
bus.c drm/tegra: Changes for v4.6-rc1 2016-03-17 08:08:57 +10:00
bus.h gpu: host1x: Provide a proper struct bus_type 2015-01-27 10:09:14 +01:00
cdma.c gpu: host1x: Whitespace cleanup for readability 2016-06-23 11:59:30 +02:00
cdma.h gpu: host1x: Make mapped field of push buffers void * 2014-11-13 16:11:35 +01:00
channel.c gpu: host1x: channel: Use correct type 2016-06-23 11:59:26 +02:00
channel.h gpu: host1x: Expose syncpt and channel functionality 2013-10-31 09:20:11 +01:00
debug.c gpu: host1x: Whitespace cleanup for readability 2016-06-23 11:59:30 +02:00
debug.h gpu: host1x: Add debug support 2013-04-22 12:32:46 +02:00
dev.c gpu: host1x: Whitespace cleanup for readability 2016-06-23 11:59:30 +02:00
dev.h gpu: host1x: Use unsigned int consistently for IDs 2016-06-23 11:59:24 +02:00
intr.c gpu: host1x: Constify array of action handlers 2016-06-23 11:59:31 +02:00
intr.h gpu: host1x: Use unsigned int consistently for IDs 2016-06-23 11:59:24 +02:00
job.c gpu: host1x: Store device address to all bufs 2016-11-11 15:21:07 +01:00
job.h gpu: host1x: Make gather offsets unsigned 2014-11-13 16:11:44 +01:00
Kconfig gpu: host1x: Increase compile test coverage 2013-12-19 09:29:51 +01:00
Makefile gpu: host1x: Add Tegra210 support 2015-12-14 10:50:33 +01:00
mipi.c drm/tegra: dsi: Enhance runtime power management 2016-08-24 15:58:57 +02:00
syncpt.c gpu: host1x: Remove useless local variable 2016-06-23 11:59:33 +02:00
syncpt.h gpu: host1x: Use unsigned int consistently for IDs 2016-06-23 11:59:24 +02:00