From patchwork Wed Dec 11 18:04:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tvrtko Ursulin X-Patchwork-Id: 13904062 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 C38C5E77183 for ; Wed, 11 Dec 2024 18:04:48 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9947D10EBE6; Wed, 11 Dec 2024 18:04:46 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=igalia.com header.i=@igalia.com header.b="AF9i8gno"; dkim-atps=neutral Received: from fanzine2.igalia.com (fanzine.igalia.com [178.60.130.6]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4DB8910EBE3; Wed, 11 Dec 2024 18:04:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=mSkjN2oOpv7jPaY0oL6AlL4KmU2vGmok0JKQm2GM5UA=; b=AF9i8gnoezdKo0lEfcFt7zIqKB 7J2n2bzle/Wqqv5Tfy7zfg8RARSP3w5RWK95a1sniCsSruRyXNJYNJ7fx31auIBcqoBG2fVCrPCam fgSQsksVYp42QQ1NNmKqq/wqEcf+DthodMZE5OC4A3Rbg+ArNzgixRfnl0NpubFTMJST17Y5iRa4n 6G1elo6W4O1HmUW6N0WYzvbYN4rkGQzu0mhhOTh7cxMLWFcXv36Wk0c9p1mjccJMj10xzzX5bm/0p j/renxhAlHZQygZFbCRwIrRijcfjoS5ugh1+doPwmINW9D+CnjcwT1IMNvu2ijVthtc6Ukn/w7Uoi M7BTxKIA==; Received: from [90.241.98.187] (helo=localhost) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1tLR4X-0022VR-FL; Wed, 11 Dec 2024 19:04:29 +0100 Date: Wed, 11 Dec 2024 18:04:28 +0000 From: Tvrtko Ursulin To: Dave Airlie , Daniel Vetter Cc: Jani Nikula , Joonas Lahtinen , Tvrtko Ursulin , Rodrigo Vivi , Thomas Zimmermann , Maarten Lankhorst , Maxime Ripard , Thomas =?iso-8859-1?q?Hellstr=F6m?= , Oded Gabbay , Lucas De Marchi , dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org, dim-tools@lists.freedesktop.org Subject: [PULL] drm-intel-fixes Message-ID: 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Dave, Sima, A handful of fixes for the weekly release candidate cycle: One fix for a performance regression in DSB register programming and also in the same area a partial fix for the legacy LUT and DSB interaction. Then there is a fix for a null pointer dereference in the GuC error state capture code. Finally a fix for a memory leak in cases when driver fails to load. Tvrtko drm-intel-fixes-2024-12-11: - Don't use indexed register writes needlessly [dsb] (Ville Syrjälä) - Stop using non-posted DSB writes for legacy LUT [color] (Ville Syrjälä) - Fix NULL pointer dereference in capture_engine (Eugene Kobyak) - Fix memory leak by correcting cache object name in error handler (Jiasheng Jiang) The following changes since commit fac04efc5c793dccbd07e2d59af9f90b7fc0dca4: Linux 6.13-rc2 (2024-12-08 14:03:39 -0800) are available in the Git repository at: https://gitlab.freedesktop.org/drm/i915/kernel.git tags/drm-intel-fixes-2024-12-11 for you to fetch changes up to 2828e5808bcd5aae7fdcd169cac1efa2701fa2dd: drm/i915: Fix memory leak by correcting cache object name in error handler (2024-12-09 10:29:06 +0000) ---------------------------------------------------------------- - Don't use indexed register writes needlessly [dsb] (Ville Syrjälä) - Stop using non-posted DSB writes for legacy LUT [color] (Ville Syrjälä) - Fix NULL pointer dereference in capture_engine (Eugene Kobyak) - Fix memory leak by correcting cache object name in error handler (Jiasheng Jiang) ---------------------------------------------------------------- Eugene Kobyak (1): drm/i915: Fix NULL pointer dereference in capture_engine Jiasheng Jiang (1): drm/i915: Fix memory leak by correcting cache object name in error handler Ville Syrjälä (2): drm/i915/dsb: Don't use indexed register writes needlessly drm/i915/color: Stop using non-posted DSB writes for legacy LUT drivers/gpu/drm/i915/display/intel_color.c | 81 +++++++++++++++++++----------- drivers/gpu/drm/i915/display/intel_dsb.c | 19 +++++-- drivers/gpu/drm/i915/display/intel_dsb.h | 2 + drivers/gpu/drm/i915/i915_gpu_error.c | 18 +++++-- drivers/gpu/drm/i915/i915_scheduler.c | 2 +- 5 files changed, 85 insertions(+), 37 deletions(-)