From patchwork Thu Jan 12 13:09:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 13097981 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 96742C54EBC for ; Thu, 12 Jan 2023 13:10:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3BAAF10E8E5; Thu, 12 Jan 2023 13:10:04 +0000 (UTC) Received: from new2-smtp.messagingengine.com (new2-smtp.messagingengine.com [66.111.4.224]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9413A10E8E9; Thu, 12 Jan 2023 13:10:02 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id 433D8582FF7; Thu, 12 Jan 2023 08:09:58 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 12 Jan 2023 08:09:58 -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= 1673528998; x=1673536198; bh=8U9zLEHso5Vew1pgYQV+YycbfUU86chqC16 4aPfsHhY=; b=DkPcG317dF1G9rsJEO4Gp6qf4TYImB9Ili0/J5/0Ee23L27DNTJ AXpQL5EFcA1pzBSQ6BQe/ml3pLhcQpS/tHjIdv9oK9B28sQH2th9b9k5JepL6Ujt XgLBe4FRHv8ctLwbO2vOYJeKAVSSN+lWy+YdMmlTLAjzsjdIR931uN4EiT8k/+jM cr307MXU2ur5O1xY01eEXFZ4/w4eBd6sMEF5wobh36vW30nVvwX+F8vXJty3aYdt DSj06X48yTdp60jSdwVblFvpCGK7lIHwWNps+IIZZwRU1sUFlUnYtS+yjgZbkQuj y7+oOsvluFKsmIi9Yw4xJC4tS4QNruvkqxA== 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=1673528998; x= 1673536198; bh=8U9zLEHso5Vew1pgYQV+YycbfUU86chqC164aPfsHhY=; b=L akB3Qj2imZgdYg1GF1WB0EeYa2PMdlNZvQme4QHOdmml7mrtkY8CcBq09+YRN6xE XCt/qemEF+ryC49+Lte0oJcWyVAg/VQHGnFI9zZqYfwywIPOhGQFxhy3yYf/mC17 J2wRZIKMeHRqpSyelOWggawIhFp1lHN3sZwoKVL7EDyeY9bjJhHz9IaqRlgrZsJb HdGOTP5qfyMt2IdpUQ2MpI9VoMYjaEh1PvXmcldl1EtdF3BxIdeejMax4GUxGdaA ++Bqob2hESxioIiShTjALhZpaOLqRjyO1iswUevFh6ruiQ/o3wwbROfInnfubUoP CvweCXvN4ixFhNloOu0Vw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrleeigdegkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfggtggusehgtderredttddunecuhfhrohhmpeforgigihhmvgcu tfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrthhtvg hrnhepkeehjeeguefhtefhgfehkeehudefudfhjefgheffkedufeegudfghfekfefhvedv necuffhomhgrihhnpehfrhgvvgguvghskhhtohhprdhorhhgnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordht vggthh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 12 Jan 2023 08:09:57 -0500 (EST) Date: Thu, 12 Jan 2023 14:09:54 +0100 From: Maxime Ripard To: Dave Airlie , Daniel Vetter Message-ID: <20230112130954.pxt77g3a7rokha42@houat> 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 Dave, Daniel, Here's this week drm-misc-fixes PR Maxime drm-misc-fixes-2023-01-12: Several fixes for amdgpu (all addressing issues with fences), yet another orientation quirk for a Lenovo device, a use-after-free fix for virtio, a regression fix in TTM and a performance regression in drm buddy. The following changes since commit 83e79ae3216c70f2b63c935a4e089d1620e8ef01: Merge tag 'drm-misc-fixes-2023-01-05' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes (2023-01-05 09:43:37 +0100) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-01-12 for you to fetch changes up to 5640e81607152d7f2d2558227c0f6cb78b8f39cf: drm: Optimize drm buddy top-down allocation method (2023-01-12 13:50:28 +0100) ---------------------------------------------------------------- Several fixes for amdgpu (all addressing issues with fences), yet another orientation quirk for a Lenovo device, a use-after-free fix for virtio, a regression fix in TTM and a performance regression in drm buddy. ---------------------------------------------------------------- Arunpravin Paneer Selvam (1): drm: Optimize drm buddy top-down allocation method Christian König (3): drm/amdgpu: fix another missing fence reference in the CS code drm/amdgpu: fix missing dma_fence_put in error path drm/amdgpu: fix pipeline sync v2 Patrick Thompson (1): drm: Add orientation quirk for Lenovo ideapad D330-10IGL Rob Clark (1): drm/virtio: Fix GEM handle creation UAF Thomas Zimmermann (1): drm/nouveau: Remove file nouveau_fbcon.c Zack Rusin (2): drm/vmwgfx: Remove rcu locks from user resources drm/ttm: Fix a regression causing kernel oops'es drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 51 +- drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | 4 +- drivers/gpu/drm/drm_buddy.c | 81 ++-- drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 + drivers/gpu/drm/nouveau/nouveau_fbcon.c | 613 ------------------------- drivers/gpu/drm/ttm/ttm_bo_util.c | 2 +- drivers/gpu/drm/virtio/virtgpu_ioctl.c | 19 +- drivers/gpu/drm/vmwgfx/ttm_object.c | 41 +- drivers/gpu/drm/vmwgfx/ttm_object.h | 14 - drivers/gpu/drm/vmwgfx/vmwgfx_bo.c | 38 -- drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 18 +- drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 176 ++++--- drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 33 -- 13 files changed, 202 insertions(+), 894 deletions(-) delete mode 100644 drivers/gpu/drm/nouveau/nouveau_fbcon.c