commit | 46b757780dfe60596124b85befa935554dba73a3 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Feb 28 15:49:07 2019 +0100 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Apr 24 11:29:32 2019 +0200 |
tree | 54d8db19d6529a1335125d9fb90217f7aead66bd | |
parent | 4285c7e1aaad6ffe5520b36047a28fc960e32482 [diff] |
drm/lease: Check for lessor outside of locks The lessor is invariant over a lifetime of a lease, we don't have to grab any locks for that. Speeds up the common case of not being a lease. Cc: Keith Packard <keithp@keithp.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20190228144910.26488-5-daniel.vetter@ffwll.ch