diff options
author | Dave Airlie <airlied@redhat.com> | 2017-10-12 10:38:09 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2017-10-12 10:38:09 +1000 |
commit | 545036a9944e9d6e50fed4ca03117147c880ff71 (patch) | |
tree | 4af4bb0a2408c66ff77c5bf441a23ec4643cf81e /drivers/gpu/drm | |
parent | 8a5776a5f49812d29fe4b2d0a2d71675c3facf3f (diff) | |
parent | f7974880cf869ddbd0ba9a8e2ab11dff4a667f96 (diff) | |
download | linux-next-545036a9944e9d6e50fed4ca03117147c880ff71.tar.gz |
Merge tag 'drm-misc-fixes-2017-10-11' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
Core Changes:
- sync_file: Fix race in SYNC_IOC_FILE_INFO (John)
- atomic_helper: Give up reference taken in suspend helper (Jeffy)
Cc: John Einar Reitan <john.reitan@arm.com>
Cc: Jeffy Chen <jeffy.chen@rock-chips.com>
* tag 'drm-misc-fixes-2017-10-11' of git://anongit.freedesktop.org/drm/drm-misc:
sync_file: Return consistent status in SYNC_IOC_FILE_INFO
drm/atomic: Unref duplicated drm_atomic_state in drm_atomic_helper_resume()
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/drm_atomic_helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/drivers/gpu/drm/drm_atomic_helper.c index 4e53aae9a1fb..0028591f3f95 100644 --- a/drivers/gpu/drm/drm_atomic_helper.c +++ b/drivers/gpu/drm/drm_atomic_helper.c @@ -2960,6 +2960,7 @@ out: drm_modeset_backoff(&ctx); } + drm_atomic_state_put(state); drm_modeset_drop_locks(&ctx); drm_modeset_acquire_fini(&ctx); |