From patchwork Wed Apr 24 21:06:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 10915735 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9DB281708 for ; Wed, 24 Apr 2019 21:06:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8D80828A45 for ; Wed, 24 Apr 2019 21:06:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8209428A6B; Wed, 24 Apr 2019 21:06:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A929328A44 for ; Wed, 24 Apr 2019 21:06:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2BBA1890A6; Wed, 24 Apr 2019 21:06:08 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7C32B89079 for ; Wed, 24 Apr 2019 21:06:06 +0000 (UTC) Received: by mail-qk1-x743.google.com with SMTP id d5so9496982qko.12 for ; Wed, 24 Apr 2019 14:06:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:user-agent; bh=pkOsdRJkZnscfRUNhWU11TjPrGS+kjss0PWRqOkswvo=; b=sIkoh4yfClSO98KePJ3jiV3FR9luaKfexqwERJqnsuF3JvLxEm/7F95/y4aTIY+F2w enwXITwuKGfvJ91oV9+Cw5ctM2EnlAV6NwoS1h3CrVpzweBYxLsjtRn55+XAiGBa1Huh iZl7PrKubU7jBdB6Ak3IcJ8Q56q+FQ96GLXBom6Wwx1jZE7qa5v2DCeykp0y98WGB+om 6CaV7PuCmsu6JlCqXQbp2Ba/lWzND95c28NnNJZIwoowsSzCEfQRzBxvtT1H2cK69dys jqiuwmc/aR9y83nlLzNV1572y3mlKeTQKtDmyjaV3/bJp/YehQ1ovlz94uvAiK8SZZSC 2kfw== X-Gm-Message-State: APjAAAVmZTDXen5rXrKo1yLcYjFFZ5UhWLxcEhJdiSwG6rSeDAaEOXca KpGo4lgsl7ngfq1x+chXFlzP7A== X-Google-Smtp-Source: APXvYqyLDTwMlGwDevhpKY4oynP0MgnP636B5ZpQIy4FKziHkNruSkB3MYgYgsZQMUKTGtGpAKHrjQ== X-Received: by 2002:a37:bc02:: with SMTP id m2mr27400728qkf.333.1556139965577; Wed, 24 Apr 2019 14:06:05 -0700 (PDT) Received: from localhost ([2620:0:1013:11:89c6:2139:5435:371d]) by smtp.gmail.com with ESMTPSA id b24sm9556567qtr.51.2019.04.24.14.06.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Apr 2019 14:06:04 -0700 (PDT) Date: Wed, 24 Apr 2019 17:06:04 -0400 From: Sean Paul To: Dave Airlie , Daniel Vetter Message-ID: <20190424210604.GA32581@art_vandelay> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=poorly.run; s=google; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:user-agent; bh=pkOsdRJkZnscfRUNhWU11TjPrGS+kjss0PWRqOkswvo=; b=PW0C5BauelTlOhppmTCH34NKweR0Fz+AI09X3mko/p9KZG64VovTjJTZ5snDPPDHOO zyZgk4CObZtJlTZBGva4VloeVcOdGuAXnywXlGzy3DpBa3euqDv+O1/SzbEsRRy/NS5a i7b1K6iKfP5t64gUos/SoI7kX33OJhpMERgX/2x6avFScLAknejoJwcjOOqiWYMrDT5d ZzGu1Uu+E3IuEuQVqCEAMO2q4I+w5gZbwwZkIRJ8pKEGn6x+K8auhWev36ZZdTtwPd9k tbZrhxU2wY+ElHh9tDWabnnP4E2vBK7iTQrXsdwV+OyJrYGWv8My7z99FXU5oCBUltX8 rpvw== Subject: [Intel-gfx] [PULL] drm-misc-next-fixes X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dim-tools@lists.freedesktop.org, Maxime Ripard , Daniel Vetter , intel-gfx@lists.freedesktop.org, Noralf =?iso-8859-1?q?Tr=F8nnes?= , dri-devel@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Hi Da.*, First pull from -next-fixes for 5.2. Mostly lease fixes from Daniel with a NULL deref from Noralf. Please pull! drm-misc-next-fixes-2019-04-24: - fb_helper: Fix NULL deref in legacy drivers (Noralf) - leases: Ensure lessees can't connect to objects outside their perview (Daniel) - leases: Enforce that lessees hold the lease for implicitly set planes (Daniel) - leases: A few non-functional cleanups (Daniel) Cc: Daniel Vetter Cc: Noralf Trønnes Cheers, Sean The following changes since commit abbc0697d5fbf53f74ce0bcbe936670199764cfa: drm/fb: revert the i915 Actually configure untiled displays from master (2019-04-24 16:41:03 +1000) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-fixes-2019-04-24 for you to fetch changes up to 1de7259275ca4ebc66459de6620558d3e38d4142: drm/fb-helper: Fix drm_fb_helper_firmware_config() NULL pointer deref (2019-04-24 15:57:43 +0200) ---------------------------------------------------------------- - fb_helper: Fix NULL deref in legacy drivers (Noralf) - leases: Ensure lessees can't connect to objects outside their perview (Daniel) - leases: Enforce that lessees hold the lease for implicitly set planes (Daniel) - leases: A few non-functional cleanups (Daniel) Cc: Daniel Vetter Cc: Noralf Trønnes ---------------------------------------------------------------- Daniel Vetter (7): drm/leases: Drop object_id validation for negative ids drm/lease: Drop recursive leads checks drm/leases: Don't init to 0 in drm_master_create drm/lease: Check for lessor outside of locks drm/lease: Make sure implicit planes are leased drm/atomic: Wire file_priv through for property changes drm/atomic: -EACCESS for lease-denied crtc lookup Noralf Trønnes (1): drm/fb-helper: Fix drm_fb_helper_firmware_config() NULL pointer deref drivers/gpu/drm/drm_atomic_uapi.c | 36 +++++++++++++++++++++++------------- drivers/gpu/drm/drm_auth.c | 2 -- drivers/gpu/drm/drm_crtc.c | 4 ++++ drivers/gpu/drm/drm_crtc_internal.h | 1 + drivers/gpu/drm/drm_fb_helper.c | 3 +++ drivers/gpu/drm/drm_lease.c | 13 +++---------- drivers/gpu/drm/drm_mode_object.c | 5 +++-- drivers/gpu/drm/drm_plane.c | 8 ++++++++ 8 files changed, 45 insertions(+), 27 deletions(-)