On Tue, Nov 08, 2016 at 07:51:32PM +0200, Mikko Perttunen wrote: > From: Arto Merilainen <amerilainen at nvidia.com> > > 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 at nvidia.com> > Signed-off-by: Arto Merilainen <amerilainen at nvidia.com> > Signed-off-by: Mikko Perttunen <mperttunen at nvidia.com> > --- > drivers/gpu/host1x/job.c | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-)
Applied, thanks. Thierry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161111/3cb81144/attachment.sig>