From nobody Tue Feb 10 03:45:06 2026 Received: from mail-io1-f44.google.com (mail-io1-f44.google.com [209.85.166.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D150D216E17 for ; Sat, 25 Jan 2025 06:47:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737787650; cv=none; b=je4dSHF6TloZo3FGLuqOl4oIyZ3o9xGZhC1A3VVzVjSzfXIGqlvXJfGsg1eNahtn7yILcs0f/hfSW2rroPrBe7MK+azO9LYgcSgoPIVpIpzDSpIp/bO7OzNCDIVIHdCSktWKelao5uip3DhOch3oGfl7ryRO3owoQZcgnjTx4+0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737787650; c=relaxed/simple; bh=gXYWz5OA3APQ9SOGyQtjNk6O4u+ajOxYQi1X+Wgj5EA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=b8DlmjBg/aW8BYYnrIfYg9MDKT4xa38LoQuD4DrQuhLAe7MgPH74EJb+IrO4gpTdeIccYMNVm8UizaVylQyHU0gRz7+FGU4zLhFR2mgoObwBASRBKzkTzBcTwK0BC9Xg507Jc76YGAcWANAS85vy9ClZDeegOICT37amdXrlr1E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=i4tD4VG5; arc=none smtp.client-ip=209.85.166.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="i4tD4VG5" Received: by mail-io1-f44.google.com with SMTP id ca18e2360f4ac-8521df70be6so138816539f.1 for ; Fri, 24 Jan 2025 22:47:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737787648; x=1738392448; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=a5Fx4vD8830ygmwK/CbGq51e5E9vq9b3i0UwFgjm2S0=; b=i4tD4VG5W3Ta1UWXszoJX37HalorPquDNyKFdrLQSdKHME4fjKsAfE3I1hThZTxLiT MzAjUyR/1wabfNbCY0xrvZaXMNclfLjRbns9DHPI1WLmlIABtDOkakeEOzGxi6QSgzYb fI7c8Qpr3zx/YZ3tTyXGkPftDdgQPgJLy3loyz/JALqNcuP7ra8TBkbqF/yhg8roIYYU cGn/U5D0gzGyZU0BCcLFpv3aiONV+tqS7AayjjNXXeJ9M+jcKolxmU9iOpIanHwulb0k Q6bxFgG0soJviTLitRYtM5B+dNPWXDpLC33e/fGTvwU9KFsuKSvofSMsxCPvuYL1/Z77 ODYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737787648; x=1738392448; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=a5Fx4vD8830ygmwK/CbGq51e5E9vq9b3i0UwFgjm2S0=; b=GrdDfEs7k5y6H7vUiyzhTpi+AURgQqQlWpj/D8ESzxs2diJyQgKCry0T5Rio60Jtx+ UXxgi4qO+RnIslB5PAhdN9mb3I4jXEYnCtioeOVrQzLYP/g+Esz7Z380kt7xEdp6UK56 vVxmtXyGJjiF42O86eDcasab3YSIr8dPeY006KhX2aNeWRP2ZnYMo9v3r1TbI7D91KnH j+M+jErnU6MD8mDKbGLabEn3BgrNtaRok9S+SJps9nqx9ds1UoYfy5hmQ/B769FbmiSp U5oH//T6kODkmhBQqDjgWXIKTKpV6gxiullekaj4Xxr2no4aFpts3aIvQfpDtQ0jv24c 5a6Q== X-Gm-Message-State: AOJu0Yx5uZMjjMUpZwHfjykcm7/8AzB48vZo7WXmmYbgd61HC9b4WQwr kDXRJKvT01XxL5CTqA/vMrek1y6NP8A9L9BAcQAUa+TbzIDFcmOErd6oPg== X-Gm-Gg: ASbGnctTRtmiVxYjnjQYfjdcDuJz+X8xT0LXXclHQphk1WWDmmfMJDSf6+Efm/88iCr OG32HMK3ViU887Jc0tIJA5mjbWwPMH9ahuzg9JExHG/zVNsCKKD4RxuPRTs8yvf1vpQacx6HGRu 0hmIi/NnFHWqB51wzNaHvj8P3+SZhcQj9sL/AXscZnxdO3DPu/CI94R6ZOAv/esvp+f22s5/r4k MPbuciQ2MfRxUpLanJ8W0tRHtxLRPJtkRRAid3Cu4HGiGhwtR3W8elj1X97hpb5VzG0LKAEhciY OJ9/lfqG1I09jgMskyJr5/WL8WTuAp4uL9Gc6w== X-Google-Smtp-Source: AGHT+IFRDe2KcxcBNECeYYJdcgCZVcjRpFlIg8aq2/iCR1BiW/gFQkHcZx8djmRi6ashMmRnx1PoRw== X-Received: by 2002:a05:6602:418d:b0:844:bb0c:b899 with SMTP id ca18e2360f4ac-851b6170923mr2710428339f.1.1737787647828; Fri, 24 Jan 2025 22:47:27 -0800 (PST) Received: from gandalf.. (c-67-165-245-5.hsd1.co.comcast.net. [67.165.245.5]) by smtp.googlemail.com with ESMTPSA id 8926c6da1cb9f-4ec1da476fesm1174144173.58.2025.01.24.22.47.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jan 2025 22:47:27 -0800 (PST) From: Jim Cromie To: linux-kernel@vger.kernel.org, jbaron@akamai.com, gregkh@linuxfoundation.org, ukaszb@chromium.org Cc: intel-gfx-trybot@lists.freedesktop.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, daniel.vetter@ffwll.ch, tvrtko.ursulin@linux.intel.com, jani.nikula@intel.com, ville.syrjala@linux.intel.com, Jim Cromie Subject: [PATCH 47/63] drm-dyndbg: DRM_CLASSMAP_USE in drm_dp_helper Date: Fri, 24 Jan 2025 23:46:01 -0700 Message-ID: <20250125064619.8305-48-jim.cromie@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250125064619.8305-1-jim.cromie@gmail.com> References: <20250125064619.8305-1-jim.cromie@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Following the dyndbg-api-fix, replace DECLARE_DYNDBG_CLASSMAP with DRM_CLASSMAP_USE. This refs the defined & exported classmap, rather than re-declaring it redundantly, and error-prone-ly. This resolves the appearance of "class:_UNKNOWN_" in the control file for the driver's drm_dbg()s. Fixes: f158936b60a7 ("drm: POC drm on dyndbg - use in core, 2 helpers, 3 dr= ivers.") Signed-off-by: Jim Cromie --- drivers/gpu/drm/display/drm_dp_helper.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/gpu/drm/display/drm_dp_helper.c b/drivers/gpu/drm/disp= lay/drm_dp_helper.c index 6ee51003de3c..04884ff96c96 100644 --- a/drivers/gpu/drm/display/drm_dp_helper.c +++ b/drivers/gpu/drm/display/drm_dp_helper.c @@ -42,17 +42,7 @@ =20 #include "drm_dp_helper_internal.h" =20 -DECLARE_DYNDBG_CLASSMAP(drm_debug_classes, DD_CLASS_TYPE_DISJOINT_BITS, 0, - "DRM_UT_CORE", - "DRM_UT_DRIVER", - "DRM_UT_KMS", - "DRM_UT_PRIME", - "DRM_UT_ATOMIC", - "DRM_UT_VBL", - "DRM_UT_STATE", - "DRM_UT_LEASE", - "DRM_UT_DP", - "DRM_UT_DRMRES"); +DRM_CLASSMAP_USE(drm_debug_classes); =20 struct dp_aux_backlight { struct backlight_device *base; --=20 2.48.1