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 7514FFB44DF for ; Fri, 24 Apr 2026 08:29:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 11D8910F440; Fri, 24 Apr 2026 08:29:00 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="CXgPVE1y"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) by gabe.freedesktop.org (Postfix) with ESMTPS id 44D5010F43A; Fri, 24 Apr 2026 08:28:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1777019339; x=1808555339; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version:content-transfer-encoding; bh=+vVweeVP/5przVOBwvYEqVOZPpZBTzG89YhB8PtZ1a0=; b=CXgPVE1yJRewlNMD/q6dUp7Foh21DlDrhPJns8NGv8XxnBpsZHN6HjjL Ng9N3h0AWBncNlR0TU/7ayMHme1hNCXTYeKQBJ4lz29gOzUfDDxOwcHSA WEu/NIdBk68Z5y8hOdm1wW31wsygK18NCUYcc+OPjdKWIYq8L+vVHtURw +e5pvPW/oykWelC5dTPyAEOvoncYCMkQ2tIXYuioq+jGNHyWpGu6vuses yRX8uKuV0MTJOpINn0evdbAdhCyvIHHsp0Q3H7xFW5PerlgqBn1hPSGtt d0FtltwxhpohPeqfTWm43ujXzTr+7CJADQIZD2FbLCrKgTOFXpAMYtRKS g==; X-CSE-ConnectionGUID: PUBsdAaHQNyg6URcEG95UQ== X-CSE-MsgGUID: m9PNBUX6R3yiz1JsfsOtfg== X-IronPort-AV: E=McAfee;i="6800,10657,11765"; a="88607314" X-IronPort-AV: E=Sophos;i="6.23,196,1770624000"; d="scan'208";a="88607314" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2026 01:28:59 -0700 X-CSE-ConnectionGUID: FRyY5kWZTY+7RGpscr6O/Q== X-CSE-MsgGUID: qUKfoWWCS0uYKn8HPWEKLg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,196,1770624000"; d="scan'208";a="232036980" Received: from smoticic-mobl1.ger.corp.intel.com (HELO localhost) ([10.245.245.89]) by orviesa010-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2026 01:28:58 -0700 From: Jani Nikula To: "Kandpal, Suraj" , "intel-gfx@lists.freedesktop.org" , "intel-xe@lists.freedesktop.org" Cc: "Grzelak, Michal" Subject: RE: [PATCH] drm/i915/ddi: add wrapper for calling ->get_buf_trans() hook In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs Bertel Jungin Aukio 5, 02600 Espoo, Finland References: <20260415115104.1721008-1-jani.nikula@intel.com> Date: Fri, 24 Apr 2026 11:28:54 +0300 Message-ID: <00f5c612c22f8b626736003e889330cf2876447a@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Fri, 24 Apr 2026, "Kandpal, Suraj" wrote: >> Subject: [PATCH] drm/i915/ddi: add wrapper for calling ->get_buf_trans()= hook >>=20 >> Add intel_ddi_buf_trans_get() wrapper for calling the > > Nit: Could we name this intel_ddi_get_buf_trans() to keep the hook name a= nd function name that calls this hook uniform > But with or without this change I put more value in having the function name prefix be the same as the file name. > Reviewed-by: Suraj Kandpal Thanks, pushed to drm-intel-next. BR, Jani. > >> encoder->get_buf_trans() hooks, allowing for a centralized place to >> e.g. check for VBT overrides for the buf translations. >>=20 >> Cc: Micha=C5=82 Grzelak >> Signed-off-by: Jani Nikula --=20 Jani Nikula, Intel