From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 737B43242A4 for ; Thu, 12 Mar 2026 19:16:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773342977; cv=none; b=Taf87vb/R06GQHTs+W+vpiEjzQDd9k6Woi7zBelu8K4IvI/jGz4nF6koGHrZMm9/0NlLUMpq0vwE69kyU4QiK0ol4IuZ/WQViwhtfaqRymILfX9UZ3Q/ViiRVEPbDOF/hSLoAI+sAgk0skuHNeN+Kq/p1b2UzoIq2zVcUSPHPG4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773342977; c=relaxed/simple; bh=jlyx9l+qGp+RWiemW+VcSfXUDZgJ9xq/VQap7qzq8dQ=; h=Mime-Version:Content-Type:Date:Message-Id:To:From:Subject:Cc: References:In-Reply-To; b=dY4LF2axN8kSBgGiyKa+/g1cO2PdkFjxYoFTk5HpwbPmfM3T1qghEiipHcsMyvRwaSXEuE+FIxAt5/8DlY0lrQl8woeN7mbflMXFu3E+a5mHI3ugfsW2yW68C7I/4NKVY1W+dGEDYc7kwKKiycNGZ1vWAUhrqAbMPq+ub4Bdldw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AlsDiPyl; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AlsDiPyl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F0989C2BCB1; Thu, 12 Mar 2026 19:16:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773342977; bh=jlyx9l+qGp+RWiemW+VcSfXUDZgJ9xq/VQap7qzq8dQ=; h=Date:To:From:Subject:Cc:References:In-Reply-To:From; b=AlsDiPylrriqz02nX09F6Dsml7vaxeR0f7gbhVVvsEV/Zz+hLha9hIIfh3xiogl7f B2KJuPJjb5gvfwFCqVxhqkHzVTdKoUQfGun8vDVXYopcJlnuYZPTlW1V7mNoB/RS/4 bPxlEk1dMNAbLYjrdMt+Um1UPAIsHa3xef/8lUcdO41JCyoxKfZY5jCKtZ80W/RvaL 3eD6tbWfoyasy6ZN93LBr+lWBRZhvxtWQvZMe87ED0/9oeZT0RMiHu+GMFi+3hJ97A K2YervJTOJvLJM2Xnv58MBNKr0gzzWjEY9/ntYZbA6A2LMkFkRzFDgsMmW9wO5PMZy xa1t4ArO/0L8Q== 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 Date: Thu, 12 Mar 2026 20:16:13 +0100 Message-Id: To: "Cheng-Yang Chou" From: "Danilo Krummrich" Subject: Re: [PATCH] gpu: nova: rename drivers to use kebab-case convention Cc: "John Hubbard" , "Alice Ryhl" , "Alexandre Courbot" , "David Airlie" , "Simona Vetter" , "Gary Guo" , , , , References: <20260310062443.2763230-1-yphbchou0911@gmail.com> <99af9d88-05a0-4dcd-85f4-9d5fe9ee6744@nvidia.com> In-Reply-To: On Thu Mar 12, 2026 at 7:45 PM CET, Cheng-Yang Chou wrote: > Hi John, > > On Tue, Mar 10, 2026 at 06:34:51PM -0700, John Hubbard wrote: >> On 3/9/26 11:24 PM, Cheng-Yang Chou wrote: >> > - name: c"nova", >> > + name: c"nova-drm", >> > desc: c"Nvidia Graphics", >>=20 >> hmm, as long as we are fooling around with names here, I see that >> this should be "NVIDIA Graphics and Compute", really. SGTM. >> > kernel::module_auxiliary_driver! { >> > type: NovaDriver, >> > - name: "Nova", >> > + name: "nova-drm", >>=20 >> Well, but now it is out of sync with the file name: nova.rs. >>=20 >> You should change both, or neither, I'm thinking. > > I think renaming the file to nova_drm.rs would better reflect the > driver's identity now that the module name is nova-drm, making it easier > for readers to associate the source file with the driver. > > Would that work for you? I think the module name should ideally match the directoy name, i.e. we hav= e drivers/gpu/nova-core/ with the module name "nova-core" and drivers/gpu/drm/nova/ with the module name "nova-drm". The reason why this is not .../nova-drm/ already is that I figured it would= be a bit redundant given that "drm" is already part of the path. While I don't mind changing this, I wonder what this would mean for the Kconfig, CONFIG_DRM_NOVA_DRM? :)