[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z54PsyY-fNRBwJQ4@cassiopeiae>
Date: Sat, 1 Feb 2025 13:12:35 +0100
From: Danilo Krummrich <dakr@...nel.org>
To: Greg KH <greg@...ah.com>
Cc: airlied@...il.com, simona@...ll.ch, corbet@....net,
maarten.lankhorst@...ux.intel.com, mripard@...nel.org,
tzimmermann@...e.de, ajanulgu@...hat.com, lyude@...hat.com,
pstanner@...hat.com, zhiw@...dia.com, cjia@...dia.com,
jhubbard@...dia.com, bskeggs@...dia.com, acurrid@...dia.com,
ojeda@...nel.org, alex.gaynor@...il.com, boqun.feng@...il.com,
gary@...yguo.net, bjorn3_gh@...tonmail.com, benno.lossin@...ton.me,
a.hindborg@...nel.org, aliceryhl@...gle.com, tmgross@...ch.edu,
dri-devel@...ts.freedesktop.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, nouveau@...ts.freedesktop.org,
rust-for-linux@...r.kernel.org
Subject: Re: [PATCH 1/2] gpu: nova-core: add initial driver stub
On Sat, Feb 01, 2025 at 09:33:28AM +0100, Greg KH wrote:
> On Fri, Jan 31, 2025 at 11:04:24PM +0100, Danilo Krummrich wrote:
> > +impl Gpu {
> > + pub(crate) fn new(pdev: &pci::Device, bar: Devres<Bar0>) -> Result<impl PinInit<Self>> {
> > + let spec = GpuSpec::new(&bar)?;
> > + let fw = Firmware::new(pdev.as_ref(), &spec, "535.113.01")?;
> > +
> > + dev_info!(
> > + pdev.as_ref(),
> > + "NVIDIA {:?} ({:#x})",
> > + spec.chipset,
> > + spec.boot0
> > + );
>
> When drivers work properly, they should be quiet, so can you move this
> to dev_dbg()?
Sure, the only reason I made this dev_info!() is because, as an initial
skeleton, the driver isn't doing anything else for now. So, I thought it would
be nice to have some sign of life.
Of course, the intention was to remove this, once there's any other sign of
life.
Powered by blists - more mailing lists