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 D3BC9E98E06 for ; Mon, 23 Feb 2026 08:13:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C834110E26C; Mon, 23 Feb 2026 08:13:17 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; secure) header.d=pm.me header.i=@pm.me header.b="bvEPP7BM"; dkim-atps=neutral Received: from mail-106110.protonmail.ch (mail-106110.protonmail.ch [79.135.106.110]) by gabe.freedesktop.org (Postfix) with ESMTPS id 944C110E136 for ; Sun, 22 Feb 2026 06:46:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1771742759; x=1772001959; bh=egmxeKzZW4IOZX19k1bmJ//ZuEL1hoh9VdDZXSOcoUk=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=bvEPP7BMyXI/mvQBpvBthualk2QnlC+Ug5Wv3LLaR3hHRYj4CCGf7R4vi/Y77vkMy w3vzSBwzbgGJ9v/v7GBgIwvGK0dIPooWL8a4WtYUc1yn4vht+vGXwwN3rmXp4kxy0+ ttz9RCkYKp4VaPYP/gJco3l3gXZO3cnDmupdg/quoivBJzmAFAYCDOceoAckJqpARe HoqjcjKEHu0vBX6rSbRfdXBqacgZFDRCYWyAJCqv6su6urq33buC9BjiDJziOJ1Ug0 JxFVXwwjLSeG3eujRgXuWGSArHIob9x/c/DkjWQlxBmbZ8tsGoSQ5K3t4BMrSESQyX LYyP8TaLGxLJg== Date: Sun, 22 Feb 2026 06:45:54 +0000 To: Ruben Wauters From: Hardik Phalet Cc: Sean Paul , dri-devel@lists.freedesktop.org Subject: [drm/gud] RFC: Convert dev_* logging to drm_*() for multi-instance GUD devices? Message-ID: Feedback-ID: 166659585:user:proton X-Pm-Message-ID: 9d0fb8ac2b904fc39c67961891fe6f304cff63e1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Mon, 23 Feb 2026 08:13:16 +0000 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 Ruben, I am looking to work on a small starter task in DRM and was considering converting logging in drivers/gpu/drm/gud from dev_info/dev_warn/dev_err to the drm_*() helpers where a struct drm_device is already (or readily) available. Since GUD is a USB-backed DRM driver and can have multiple active instances, using drm_*() would make log messages instance-aware and consistent with DRM drivers. Before preparing a patch series, I wanted to check whether this kind of conversion is welcome for GUD, and whether there are any parts of the drive= r you would prefer to keep using dev_*() instead of drm_*(). If this is fine, I plan to keep the changes mechanical and scoped only to call sites where drm_device is already in scope, preserving logging semantics. Thanks, Hardik