From patchwork Thu Jan 26 10:40:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 13116882 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 5ECF2C61DA3 for ; Thu, 26 Jan 2023 10:40:31 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A663F10E480; Thu, 26 Jan 2023 10:40:27 +0000 (UTC) Received: from wnew2-smtp.messagingengine.com (wnew2-smtp.messagingengine.com [64.147.123.27]) by gabe.freedesktop.org (Postfix) with ESMTPS id 074A710E0F7; Thu, 26 Jan 2023 10:40:24 +0000 (UTC) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.west.internal (Postfix) with ESMTP id 052E62B0686C; Thu, 26 Jan 2023 05:40:21 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 26 Jan 2023 05:40:23 -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=fm1; t= 1674729621; x=1674736821; bh=8nYVPhG2kYkrJeQYSN33IGzKuFT43eqNEYe QAtFi70o=; b=YzKwn223XQ0GAu8YzW3Khkea2WNlmdNlvcG035HKuJmuL+78U3V eFH9zNMQMNYgH/IaKdrtJGOw90SyI8729g+Jr9bem0tvUaP0ZkcGdUC7UldmReUV Xrk45VaJPogiZq4Sd7/4GU3yQqqnJe/S+or0UDUmkuCqB8vDK0YP911ftrwLMsRf 4xb2kQTW6/ojevOhJvJIOeYNfoTDa04aN8IUDHjmPntdiXjTTyJTW88ez8EMJl5y Vfw2wTuQ5GZvEcrpLu1DKacJpELeR5EjoiEq0sX6kzIZl7qjZ+ZEAh2aQkYOQZ+a SRf6hqRq73nwwjh0+b0YbyxV53QFPokzF/w== 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=fm3; t=1674729621; x= 1674736821; bh=8nYVPhG2kYkrJeQYSN33IGzKuFT43eqNEYeQAtFi70o=; b=j 4HNApoNMqdAMkZUkff3Jh100mN2R4YHNDcnyrwJXpcpMVewQAKSzJUYceVzjN3ve 75uhyW21u/7RFA1M/S8+SmrrOZDXGHfqrNOu3MhkkGHFepHBqptQu44II7t/6Nzt 1cOy6Rrv7PLa6eF6Wpki/TcXGxbz956L0E7duRw1TikKb8pu4jLZ3WQBDfUmP8Ff saznWRrsEwSXiX7vip9EwqYWTru78BWXe74ruwmVx6LE5pC4k2950S6QZnvQelZy i//L8JLu2rKp/Vh6uybgF2rdGyZZPVJSnK+c7vTTjtI1tJKXOYn7QpfPZcdz17cH RLTy1hnExoATErhxXJodw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedruddvgedgudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugesghdtreertddtvdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeeuieehjefhieevtdehudfftdetgfdtuedvvdeugeetgfevgeevudegffduveej ieenucffohhmrghinhepfhhrvggvuggvshhkthhophdrohhrghenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdr thgvtghh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 26 Jan 2023 05:40:20 -0500 (EST) Date: Thu, 26 Jan 2023 11:40:18 +0100 From: Maxime Ripard To: Dave Airlie , Daniel Vetter Subject: [PULL] drm-misc-fixes Message-ID: <20230126104018.cbrcjxl5wefdbb2f@houat> MIME-Version: 1.0 Content-Disposition: inline X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tvrtko Ursulin , dim-tools@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Thomas Zimmermann , Rodrigo Vivi , intel-gfx@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Dave, Daniel, Here's this week drm-misc-fixes PR Maxime drm-misc-fixes-2023-01-26: A fix and a preliminary patch to fix a memory leak in i915, and a use after free fix for fbdev deferred io The following changes since commit 2293a73ad4f3b6c37c06713ff1b67659d92ef43d: drm/i915: Remove unused variable (2023-01-18 13:33:15 -0500) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-01-26 for you to fetch changes up to d6591da5f3ff284a376d56b5f7a48a34e9cb159d: drm/fb-helper: Use a per-driver FB deferred I/O handler (2023-01-24 11:13:08 +0100) ---------------------------------------------------------------- A fix and a preliminary patch to fix a memory leak in i915, and a use after free fix for fbdev deferred io ---------------------------------------------------------------- Javier Martinez Canillas (2): drm/fb-helper: Check fb_deferred_io_init() return value drm/fb-helper: Use a per-driver FB deferred I/O handler Nirmoy Das (2): drm/drm_vma_manager: Add drm_vma_node_allow_once() drm/i915: Fix a memory leak with reused mmap_offset drivers/gpu/drm/drm_fbdev_generic.c | 15 ++++--- drivers/gpu/drm/drm_vma_manager.c | 76 +++++++++++++++++++++++--------- drivers/gpu/drm/i915/gem/i915_gem_mman.c | 2 +- include/drm/drm_fb_helper.h | 12 +++++ include/drm/drm_vma_manager.h | 1 + 5 files changed, 76 insertions(+), 30 deletions(-)