From patchwork Thu Jun 16 07:25:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 12883448 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 1167FC43334 for ; Thu, 16 Jun 2022 07:25:27 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 37B9110F0E4; Thu, 16 Jun 2022 07:25:27 +0000 (UTC) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by gabe.freedesktop.org (Postfix) with ESMTPS id 337DE10E2B8; Thu, 16 Jun 2022 07:25:24 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 871375C00E3; Thu, 16 Jun 2022 03:25:22 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 16 Jun 2022 03:25:22 -0400 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= 1655364322; x=1655450722; bh=fo8XxAvQ50IL/ZRZfiCQ2zU+hIubPi7ODKQ aa23W52o=; b=BVuPieRYyT0wK75CHeyUGVy2IbZjzuzq0jaswNR7XiN6tp6tZM2 oOmIltKFkN/+68rWeGYXOZ2aJEhEVknE6oINkg5MaPsP2RJWJULlJzaLxAbGen2S BhYJRHHEjknvrp0ozqZJGb8wS6yR9WyKwsAEIuwh8d6P8mhy27vARnJ5JkeZM2rY Lf/TpZu7h5F8GeTZXRffWbtnll9xyaJDIkdf14VH9Kxb/+B+rgSIeg2Wt8sXdzQR yJHFbNIRT21yYojmd4OQmOB10ulMEhHXLFEspEIwqHqB4+l4CBIK7ienSPirTF3u 7qUg5mDNxpUzNPfgYmEuLrFjs3tfQmO8+3Q== 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=1655364322; x= 1655450722; bh=fo8XxAvQ50IL/ZRZfiCQ2zU+hIubPi7ODKQaa23W52o=; b=Q CWB8V4lQlqCjk3UpfM5So7zaQz7FrMjuo2IXgUhAN5mXjlbwviUFKkf1GLfzFyyW tZXGnfe0ikAGbHlWKu4YOpN45qOgAgqz3vcr9bWAGPPa8bH89yQX+l3A7kjdEMhl lAgJiuwo69PO+TZoxNKq91lQGax6gqOjjHsaYaMZpO4ortJIa7vPZYylMv0aezT5 LXqxz9650ANDX9x4TkbPGWuURxocxv4YlWXYqVuu0XPh05XgFFjMRrOeITu7yElN hohBCFDr4nPzTGcmIaD7+zYB60VeCMvAoGJHSsMmFCuyYzvikLPGAYuMzB60RyEt 3FOUmkuZqJYmhVtXLIphw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedruddvvddguddujecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfggtggusehgtderredttddunecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepkeehjeeguefhtefhgfehkeehudefudfhjefgheffkedufeegudfghfekfefh vedvnecuffhomhgrihhnpehfrhgvvgguvghskhhtohhprdhorhhgnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhho rdhtvggthh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 16 Jun 2022 03:25:21 -0400 (EDT) Date: Thu, 16 Jun 2022 09:25:19 +0200 From: Maxime Ripard To: Dave Airlie , Daniel Vetter Message-ID: <20220616072519.qwrsefsemejefowu@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-2022-06-16: Two fixes for TTM, one for a NULL pointer dereference and one to make sure the buffer is pinned prior to a bulk move, and a fix for a spurious compiler warning. The following changes since commit 477277c7fd43d48ae68cbdcaa7c0f82024a87421: drm/ast: Support multiple outputs (2022-06-09 10:27:49 +0200) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2022-06-16 for you to fetch changes up to 0f9cd1ea10d307cad221d6693b648a8956e812b0: drm/ttm: fix bulk move handling v2 (2022-06-14 11:15:19 +0200) ---------------------------------------------------------------- Two fixes for TTM, one for a NULL pointer dereference and one to make sure the buffer is pinned prior to a bulk move, and a fix for a spurious compiler warning. ---------------------------------------------------------------- Christian König (2): drm/ttm: fix missing NULL check in ttm_device_swapout drm/ttm: fix bulk move handling v2 GONG, Ruiqi (1): drm/atomic: fix warning of unused variable drivers/gpu/drm/ttm/ttm_bo.c | 22 ++++++++++------ drivers/gpu/drm/ttm/ttm_device.c | 6 ++++- drivers/gpu/drm/ttm/ttm_resource.c | 52 ++++++++++++++++++++++++++------------ include/drm/drm_atomic.h | 1 + include/drm/ttm/ttm_resource.h | 8 +++--- 5 files changed, 60 insertions(+), 29 deletions(-)