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 B3B85C8302F for ; Mon, 30 Jun 2025 12:47:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6B55110E43E; Mon, 30 Jun 2025 12:47:44 +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="a7p83F+b"; dkim-atps=neutral Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) by gabe.freedesktop.org (Postfix) with ESMTPS id CED2910E43C for ; Mon, 30 Jun 2025 12:47:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=NSGVv4B0zL1+nbb6LWXaoVuz73RkxJo/x8Uor7J1VgA=; b=a7p83F+b+GIzegF77uIZ/hTgWD ypKIcH+7uy69AR+JtJbzZMuiL3ROHQVgJK+OCHjR5WIQhCgW4PxSINx1oGSYlF+KbsRlHFUW0nmw2 4IEWlclAURJK2dUOlTGkKamemHy6SbwQSnoU59bh7EMU6keV7r/CXoaSDEK1kd6F31att1J/UuBFr tSUoTh+cK48FGrjE/peGfSF71PehIEC7sPiWSZ5IHk7xiuLP9Oo76As3AMJzm+150fphV4mnb+QXK NsFdqoxjRWrIQSD+qS69AAXjKDKEfLsTAF7GTUeDkuRTcHT0wjQ4dfC5vkq59WIyfzMyJ72CJrWhA WVPWV1rA==; Received: from [81.79.92.254] (helo=localhost) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1uWDum-00ATec-40; Mon, 30 Jun 2025 14:47:16 +0200 From: Tvrtko Ursulin To: intel-xe@lists.freedesktop.org Cc: kernel-dev@igalia.com, Tvrtko Ursulin , Lucas De Marchi , Matt Roper Subject: [PATCH v8 03/24] drm/xe: Rename utilisation workaround emission function Date: Mon, 30 Jun 2025 13:46:49 +0100 Message-ID: <20250630124711.8209-4-tvrtko.ursulin@igalia.com> X-Mailer: git-send-email 2.48.0 In-Reply-To: <20250630124711.8209-1-tvrtko.ursulin@igalia.com> References: <20250630124711.8209-1-tvrtko.ursulin@igalia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" Lucas suggested to consolidate to a slightly different naming scheme which will align with the upcoming additions better. Signed-off-by: Tvrtko Ursulin Suggested-by: Lucas De Marchi Cc: Matt Roper --- drivers/gpu/drm/xe/xe_lrc.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/xe/xe_lrc.c b/drivers/gpu/drm/xe/xe_lrc.c index c07fe23e5e73..7c7f6dae158c 100644 --- a/drivers/gpu/drm/xe/xe_lrc.c +++ b/drivers/gpu/drm/xe/xe_lrc.c @@ -944,8 +944,9 @@ static void xe_lrc_finish(struct xe_lrc *lrc) * store it in the PPHSWP. */ #define CONTEXT_ACTIVE 1ULL -static ssize_t wa_bb_setup_utilization(struct xe_lrc *lrc, struct xe_hw_engine *hwe, - u32 *batch, size_t max_len) +static ssize_t +setup_utilization_wa(struct xe_lrc *lrc, struct xe_hw_engine *hwe, u32 *batch, + size_t max_len) { u32 *cmd = batch; @@ -1040,7 +1041,7 @@ static void finish_wa_bo(struct xe_lrc *lrc, static int setup_wa_bb(struct xe_lrc *lrc, struct xe_hw_engine *hwe) { static const struct wa_bo_setup funcs[] = { - { .setup = wa_bb_setup_utilization }, + { .setup = setup_utilization_wa }, }; unsigned int offset = __xe_lrc_wa_bb_offset(lrc); u32 *cmd, *buf = NULL; -- 2.48.0