Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752574AbdGEWYK (ORCPT ); Wed, 5 Jul 2017 18:24:10 -0400 Received: from home.keithp.com ([63.227.221.253]:49070 "EHLO elaine.keithp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752086AbdGEWYJ (ORCPT ); Wed, 5 Jul 2017 18:24:09 -0400 From: Keith Packard To: linux-kernel@vger.kernel.org, Dave Airlie , Daniel Vetter Cc: Keith Packard , dri-devel@lists.freedesktop.org Subject: [PATCH 0/6] drm: Add mode object leases [v3] Date: Wed, 5 Jul 2017 15:24:00 -0700 Message-Id: <20170705222406.28124-1-keithp@keithp.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 960 Lines: 27 Here's a third version of my DRM mode object leases series. Since v2: * Add revocation. This allows leases to be effectively revoked by removing all of the objects they have access to. The lease itself hangs around as it's hanging off a file. * Allow non-master files to look at all DRM mode objects. This lets the Vulkan code provide information about the display environment before the lease is created. * Free the leases IDR when the master is destroyed. Just a bug fix. * _drm_lease_held should look at lessees, not lessor. Just a bug fix. I've also rebased it to a more recent version of Dave's drm-next branch. With this and my CRTC-id based vblank series (posted separately), I'm now running "real" applications on a leased output and can fully support the following Vulkan extensions: EXT_direct_mode_display EXT_acquire_xlib_display EXT_display_surface_counter KEITHP_kms_display -keith