From patchwork Thu Dec 22 13:02:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 13080201 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DB828C4332F for ; Thu, 22 Dec 2022 17:43:13 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 45DEF10E558; Thu, 22 Dec 2022 17:43:13 +0000 (UTC) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9919C10E558; Thu, 22 Dec 2022 17:43:11 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id E2FC15C00BD; Thu, 22 Dec 2022 12:43:10 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 22 Dec 2022 12:43:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm3; t= 1671730990; x=1671817390; bh=q3AYRqZTR/RNh8KR4bONU+3nNFun8nwWxDm CBE3gdNc=; b=E5zBpg0UfF+DZukfrx+aLOABGTUuDnei2coW3gkTS8+wVENElhY GePnQfzXemm6mHrJj0ZEfYmvXly84ZypWLxbbOZUgyJwX4XU6e2UuBaklcKbtH7a XNgYRRBcQAN69UHjVn/AqevkHJvjyrkPulFZgBf0iH/fZTrD7NSoJd/58XihKA4P ngUdlh4+PHrDDucnbdAG2/15WOtcaYyk6ADS6L7T53289JJQml7Q7TG8bN3oNU24 AdZOcpUxCmIHsKDn2xeUMXcMKqb84kOD5KtRVARw6X7csFWFZ9xi2Ry7OalHf3ps 0+Ihkoe+ulZkCMTi3DDAgxqf4zz94ng+s2Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1671730990; x= 1671817390; bh=q3AYRqZTR/RNh8KR4bONU+3nNFun8nwWxDmCBE3gdNc=; b=U bVYsitUuQA2F1LM4aauHATMW6B7UGKkfzhoWHimq9vwPILmtvKZZ6CEmwjTaQ3FI QDWDmFjVmGKgPMfcZdeAkWEa8/d5oZvyiJaDu6Aak08X0FW1ewioEPJoG5Ki6qPC VoXP/bvtyEeXa1C8a/OOBa0iihbyRUy5ab8z/YJuud2KTJMdAJohd/voZQeFXEqR bUPvOh/9RQQOBr41457UmQyvAdZh8Sa9nkOed9ptQBw3Cahjs6Z2rJ0CxPvIUEkV hPVS4NaBQePssQqppPKmBlWdCgQDEh4gvmxCSC2Dn7KrWeT5Pij/9msyV0S9fSTB EEf7sR+Kjn++fZAsyy6vQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrhedtgddutdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugesghdtreertddtudenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeekheejgeeuhfethffgheekhedufeduhfejgfehffekudefgedugffhkeefhfev vdenucffohhmrghinhepfhhrvggvuggvshhkthhophdrohhrghenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdr thgvtghh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 22 Dec 2022 12:43:10 -0500 (EST) Date: Thu, 22 Dec 2022 14:02:24 +0100 From: Maxime Ripard To: Dave Airlie , Daniel Vetter Message-ID: <20221222130224.wnnxpbsdd3yglu7c@penduick> MIME-Version: 1.0 Content-Disposition: inline Subject: [Intel-gfx] [PULL] drm-misc-fixes X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 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, dri-devel@lists.freedesktop.org, Maxime Ripard , Thomas Zimmermann , Rodrigo Vivi , intel-gfx@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Hi, here's this week drm-misc-fixes PR Maxime drm-misc-fixes-2022-12-22: One fix for a use-after-free in panfrost, one to fix the error handling in dma_buf_export and one to fix a compile error with drm_plane_helper_atomic_check missing a definition for drm_atomic_state The following changes since commit c4252650a8c4770b669398fe7270ed8c94fc0eba: Merge tag 'drm-misc-fixes-2022-12-08' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes (2022-12-09 10:11:06 +1000) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2022-12-22 for you to fetch changes up to 4217c6ac817451d5116687f3cc6286220dc43d49: drm/panfrost: Fix GEM handle creation ref-counting (2022-12-21 15:04:42 +0000) ---------------------------------------------------------------- One fix for a use-after-free in panfrost, one to fix the error handling in dma_buf_export and one to fix a compile error with drm_plane_helper_atomic_check missing a definition for drm_atomic_state ---------------------------------------------------------------- Christian König (1): dma-buf: fix dma_buf_export init order v2 Ma Jun (1): drm/plane-helper: Add the missing declaration of drm_atomic_state Steven Price (1): drm/panfrost: Fix GEM handle creation ref-counting drivers/dma-buf/dma-buf-sysfs-stats.c | 7 +-- drivers/dma-buf/dma-buf-sysfs-stats.h | 4 +- drivers/dma-buf/dma-buf.c | 84 +++++++++++++++------------------ drivers/gpu/drm/panfrost/panfrost_drv.c | 27 +++++++---- drivers/gpu/drm/panfrost/panfrost_gem.c | 16 +------ drivers/gpu/drm/panfrost/panfrost_gem.h | 5 +- include/drm/drm_plane_helper.h | 1 + 7 files changed, 64 insertions(+), 80 deletions(-)