diff options
author | Sean Paul <seanpaul@chromium.org> | 2018-11-29 10:04:15 -0500 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2018-11-29 10:48:30 -0500 |
commit | c232e9f41b136c141df9938024e521191a7b910d (patch) | |
tree | ceb3b819137bfa2ede83b93b5e66bdb2ef7ea831 /drivers/gpu/drm/vc4/Kconfig | |
parent | aa394b0dd68cb00c483e151dcd84713d4d517ed1 (diff) |
drm: Move drm_mode_setcrtc() local re-init to failure path
Instead of always re-initializing the variables we need to clean up on
out, move the re-initialization into the branch that goes back to retry
label.
This is a lateral move right now, but will allow us to pull out the
modeset locking into common code. I kept this change separate to make
things easier to review.
Changes in v2:
- None
Reviewed-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20181129150423.239081-2-sean@poorly.run
Diffstat (limited to 'drivers/gpu/drm/vc4/Kconfig')
0 files changed, 0 insertions, 0 deletions