Re: [PATCH 1/2] Fixing NX data alignment with nx_sg list

2015-04-26 Thread Herbert Xu
On Thu, Apr 23, 2015 at 05:40:30PM -0300, Leonidas S. Barbosa wrote: > In NX we need to pass always a 16 multiple size nx_sg_list to > co processor. Trim function handle with this assuring all nx_sg_lists > are 16 multiple size, although data was not being considerated when > crop was done. It was

Re: [PATCH 1/2] Fixing NX data alignment with nx_sg list

2015-04-26 Thread Herbert Xu
On Thu, Apr 23, 2015 at 05:40:30PM -0300, Leonidas S. Barbosa wrote: In NX we need to pass always a 16 multiple size nx_sg_list to co processor. Trim function handle with this assuring all nx_sg_lists are 16 multiple size, although data was not being considerated when crop was done. It was

[PATCH 1/2] Fixing NX data alignment with nx_sg list

2015-04-23 Thread Leonidas S. Barbosa
In NX we need to pass always a 16 multiple size nx_sg_list to co processor. Trim function handle with this assuring all nx_sg_lists are 16 multiple size, although data was not being considerated when crop was done. It was causing an unalignment between size of the list and data, corrupting csbcpb

[PATCH 1/2] Fixing NX data alignment with nx_sg list

2015-04-23 Thread Leonidas S. Barbosa
In NX we need to pass always a 16 multiple size nx_sg_list to co processor. Trim function handle with this assuring all nx_sg_lists are 16 multiple size, although data was not being considerated when crop was done. It was causing an unalignment between size of the list and data, corrupting csbcpb