diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2015-06-24 09:59:25 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-07-07 09:58:19 +0300 |
commit | ec9f932ed41622d120de52a5b525e4d77b9ef17e (patch) | |
tree | 9fb31bee516c49e25327444afa0d64dc2824d68f /COPYING | |
parent | 3cb43cc0b408c4672ba94fe28406a90a94b1edfe (diff) | |
download | linux-ec9f932ed41622d120de52a5b525e4d77b9ef17e.tar.xz |
drm/atomic: Cleanup on error properly in the atomic ioctl.
It's probably allowed to leave old_fb set to garbage when unlocking,
but to prevent undefined behavior unset it just in case.
Also crtc_state->event could be NULL on memory allocation failure,
in which case event_space is increased for no reason.
Note: Contains some general simplification of the cleanup code too.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
[danvet: Add note about the other changes in here. And fix long line
while at it.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions