Re: [PATCH 1/3] drm: Move drm_mode_setcrtc() local re-init to failure path

2018-11-28 Thread Daniel Vetter
On Tue, Nov 27, 2018 at 05:46:38PM -0500, Sean Paul wrote: > From: Sean Paul > > 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

[PATCH 1/3] drm: Move drm_mode_setcrtc() local re-init to failure path

2018-11-27 Thread Sean Paul
From: Sean Paul 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