]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: WARN once if amdgpu_bo_unpin is called for an unpinned BO
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 13 Dec 2018 16:05:31 +0000 (17:05 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Dec 2018 20:55:17 +0000 (15:55 -0500)
commitef8982dcf95ac9f621582b76934bf4b301fba431
tree1d101bb772d3856e6766186062584b0cd7d0d6a2
parent52fee87c3cfacdec84ef2f116a950121bb5bba6a
drm/amdgpu: WARN once if amdgpu_bo_unpin is called for an unpinned BO

It indicates a pin/unpin imbalance bug somewhere. While the bug isn't
necessarily in the call chain hitting this, it's at least one part
involved.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c