diff options
| author | M'boumba Cedric Madianga <[email protected]> | 2016-12-13 13:40:48 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2017-01-03 03:53:17 +0000 |
| commit | 2b12c5580e0a4c0ffd513d1522dd39b2464fb207 (patch) | |
| tree | 8ab19ceb150fc730169f485c105591e11a3e31e6 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | dmaengine: stm32-dma: Rework starting transfer management (diff) | |
| download | kernel-2b12c5580e0a4c0ffd513d1522dd39b2464fb207.tar.gz kernel-2b12c5580e0a4c0ffd513d1522dd39b2464fb207.zip | |
dmaengine: stm32-dma: Fix residue computation issue in cyclic mode
This patch resolves the residue computation issue detected in cyclic mode.
Now, in cyclic mode, we increment next_sg variable as soon as a period is
transferred instead of after pushing a new sg request.
Then, we take into account that after transferring a complete buffer,
the next_sg variable is equal to 0.
Signed-off-by: M'boumba Cedric Madianga <[email protected]>
Reviewed-by: Ludovic BARRE <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
