linux_dsm_epyc7002/drivers/gpu/drm/amd
Rasmus Villemoes 09ccbb74b6 drm/amdgpu: use post-decrement in error handling
We need to use post-decrement to get the pci_map_page undone also for
i==0, and to avoid some very unpleasant behaviour if pci_map_page
failed already at i==0.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
2016-02-16 10:05:38 -05:00
..
amdgpu drm/amdgpu: use post-decrement in error handling 2016-02-16 10:05:38 -05:00
amdkfd drm/amdkfd: Remove unnecessary cast in kfree 2016-01-28 14:40:11 +02:00
include drma/dmgpu: move cg and pg flags into shared headers 2016-02-08 10:37:47 -05:00
powerplay drm/amdgpu/cz: plumb pg flags through to powerplay 2016-02-08 10:37:48 -05:00
scheduler drm/amdgpu: add entity only when first job come 2015-12-14 19:41:19 -05:00