]> git.baikalelectronics.ru Git - kernel.git/commit
drm/lease: Drop recursive leads checks
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 28 Feb 2019 14:49:05 +0000 (15:49 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Apr 2019 09:28:31 +0000 (11:28 +0200)
commit40c0f98cfc875b2b9bbb59313779425672240327
treee8216a3d1903059572a0bbb0e003900aa160af1d
parent1d57885b16196a68afcd200fba5e4be23d3b4c6f
drm/lease: Drop recursive leads checks

We disallow subleasing, so no point checking whether the master holds
all the leases - it will.

Spotted while typing exhaustive igt coverage for all these corner
cases.

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@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190228144910.26488-3-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_lease.c