diff options
| author | Maarten Lankhorst <[email protected]> | 2017-07-11 16:33:09 +0200 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2017-07-26 13:22:42 +0200 |
| commit | 771f14c5ccfb2b106e04110a2b250c46bb6b06df (patch) | |
| tree | 2cc0960b930f324755a65df374cd8dba9d6065a8 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | 76cc07189da7778d265cf3219d66781dd7d4c33b (diff) | |
drm/msm: Handle drm_atomic_helper_swap_state failure
drm_atomic_helper_swap_state() will be changed to interruptible waiting
in the next few commits, so all drivers have to be changed to handling
failure.
MSM has its own busy tracking, which means the swap_state call can be
done with stall = false, in which case it should never return an error.
Handle failure with BUG_ON for this reason.
Signed-off-by: Maarten Lankhorst <[email protected]>
Cc: Rob Clark <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Daniel Vetter <[email protected]>
Reviewed-by: Sean Paul <[email protected]>
Tested-by: Archit Taneja <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions