diff options
author | Arto Merilainen <[email protected]> | 2016-11-08 19:51:32 +0200 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2016-11-11 15:21:07 +0100 |
commit | f08ef2d1a1a9aaa756823e847f9eb74f3658393a (patch) | |
tree | b85bae54e2b042368f6099c1140685c3af1e285c /lib/string_helpers.c | |
parent | cc09cb6da9b0eefe4b4e47a73170a349c4cf3426 (diff) |
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 <[email protected]>
Signed-off-by: Arto Merilainen <[email protected]>
Signed-off-by: Mikko Perttunen <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions