aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2016-02-15 18:41:46 +0000
committerDave Airlie <[email protected]>2016-02-19 03:36:05 +0000
commit4fbbed46dca83bcba3a0170205110a06c116a8e6 (patch)
tree446e525b609222a41fb398993131b9a5d25e1abd /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
parentdrm/atomic: Allow for holes in connector state, v2. (diff)
downloadkernel-4fbbed46dca83bcba3a0170205110a06c116a8e6.tar.gz
kernel-4fbbed46dca83bcba3a0170205110a06c116a8e6.zip
drm/nouveau: use post-decrement in error handling
We need to use post-decrement to get the dma_map_page undone also for i==0, and to avoid some very unpleasant behaviour if dma_map_page failed already at i==0. Signed-off-by: Rasmus Villemoes <[email protected]> Reviewed-by: Ben Skeggs <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions