From mboxrd@z Thu Jan 1 00:00:00 1970 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 9F756C531CD for ; Thu, 19 Feb 2026 20:50:36 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D9BA210E74D; Thu, 19 Feb 2026 20:50:35 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="R6zB8ijl"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7379510E332; Thu, 19 Feb 2026 20:50:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1771534234; x=1803070234; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=3HAtS4OL4OwsgIfFhlW/s5kThNhN/PLfoPtumyP/520=; b=R6zB8ijl35l6W/lkP52BPyPfgPeOBB4bV9Ec0CUX5OI9haOXAaEjGeqf cq22h0n0bcvDBW4IF7wWsqUms7QcMRsfo4pWtkdCSIPRHxtzafoDFHXgd EosVi27Kli0kNBZXMaoYjF5AMfplRvruiv2vu1vG2Sm37R5zr4essOZF+ TFelHiNvuejyk5moIXeEZaa6IZRSQwJbZmzpqfrqEb7EUq2liD62Y0kFN 5F8sr/Lv7e57kwxwzCu56zwKDPMsvYyFKVK9nhqQ06U3X0qPwwvkefVaC 2k20kiegW/k+54oiUuDHeeHt5WNKDD/3lx46wloeaOLXT8Ygx/D2k4P5w A==; X-CSE-ConnectionGUID: U5uDyVeHSjitz6ILgAUVbg== X-CSE-MsgGUID: Gacvn1cjQUC694m5khxqog== X-IronPort-AV: E=McAfee;i="6800,10657,11706"; a="83255805" X-IronPort-AV: E=Sophos;i="6.21,300,1763452800"; d="scan'208";a="83255805" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Feb 2026 12:50:34 -0800 X-CSE-ConnectionGUID: KaJ++UEbT+yseLHsrDb7Ig== X-CSE-MsgGUID: 9m5K/RJhQTef1dajPzudzw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,300,1763452800"; d="scan'208";a="218796489" Received: from lstrano-desk.jf.intel.com ([10.54.39.91]) by ORVIESA003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Feb 2026 12:50:34 -0800 From: Matthew Brost To: intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org Cc: matthew.auld@intel.com Subject: [PATCH] drm/gpusvm: Fix drm_gpusvm_pages_valid_unlocked() kernel-doc Date: Thu, 19 Feb 2026 12:50:29 -0800 Message-Id: <20260219205029.1011336-1-matthew.brost@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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" The kernel-doc for drm_gpusvm_pages_valid_unlocked() was stale and still referenced old range-based arguments and naming. Update the documentation to match the current function arguments and signature. Signed-off-by: Matthew Brost --- drivers/gpu/drm/drm_gpusvm.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/drm_gpusvm.c b/drivers/gpu/drm/drm_gpusvm.c index 81626b00b755..2e229bc944f0 100644 --- a/drivers/gpu/drm/drm_gpusvm.c +++ b/drivers/gpu/drm/drm_gpusvm.c @@ -1338,14 +1338,14 @@ bool drm_gpusvm_range_pages_valid(struct drm_gpusvm *gpusvm, EXPORT_SYMBOL_GPL(drm_gpusvm_range_pages_valid); /** - * drm_gpusvm_range_pages_valid_unlocked() - GPU SVM range pages valid unlocked + * drm_gpusvm_pages_valid_unlocked() - GPU SVM pages valid unlocked * @gpusvm: Pointer to the GPU SVM structure - * @range: Pointer to the GPU SVM range structure + * @svm_pages: Pointer to the GPU SVM pages structure * - * This function determines if a GPU SVM range pages are valid. Expected be - * called without holding gpusvm->notifier_lock. + * This function determines if a GPU SVM pages are valid. Expected be called + * without holding gpusvm->notifier_lock. * - * Return: True if GPU SVM range has valid pages, False otherwise + * Return: True if GPU SVM pages are valid, False otherwise */ static bool drm_gpusvm_pages_valid_unlocked(struct drm_gpusvm *gpusvm, struct drm_gpusvm_pages *svm_pages) -- 2.34.1