public inbox for rust-for-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: "Alexandre Courbot" <acourbot@nvidia.com>
To: "Gary Guo" <gary@garyguo.net>
Cc: "Timur Tabi" <ttabi@nvidia.com>,
	"Danilo Krummrich" <dakr@kernel.org>,
	"John Hubbard" <jhubbard@nvidia.com>,
	"Joel Fernandes" <joelagnelf@nvidia.com>,
	"Eliot Courtney" <ecourtney@nvidia.com>,
	<rust-for-linux@vger.kernel.org>
Subject: Re: [PATCH v2 4/6] gpu: nova-core: add FbHal::frts_size() for GA100 support
Date: Wed, 15 Apr 2026 22:57:47 +0900	[thread overview]
Message-ID: <DHTS5166DEXA.G18MTZS8U52V@nvidia.com> (raw)
In-Reply-To: <DHTRY8R0QQP7.18II4DQCILU5M@garyguo.net>

On Wed Apr 15, 2026 at 10:48 PM JST, Gary Guo wrote:
> On Wed Apr 15, 2026 at 12:50 AM BST, Timur Tabi wrote:
>> Introduce FbHal method frts_size() to return the size of the FRTS
>> window.  GA100 is a special case in that there is no FRTS, and so
>> the size must be set to 0.
>>
>> Note that we cannot use supports_display() to determine the FRTS
>> size because there are other GPUs (e.g. GA102GL) that have display
>> disabled (and so supports_display() returns False), but the FRTS
>> window size still needs to be 1MB.
>
> Do we want to special case 0, or shoul we use `None` instead to represent that
> FRTS region dopes not exist?

This was discussed in [1] - using 0 seems to be the correct approach.

[1] https://lore.kernel.org/all/DHRQL0KVSETV.2YWE5W5JFGHJE@nvidia.com/

  reply	other threads:[~2026-04-15 13:57 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-14 23:50 [PATCH v2 0/6] gpu: nova-core: add GA100 support Timur Tabi
2026-04-14 23:50 ` [PATCH v2 1/6] gpu: nova-core: use correct fwsignature for GA100 Timur Tabi
2026-04-15 13:45   ` Gary Guo
2026-04-15 16:45     ` Timur Tabi
2026-04-15 16:55       ` Gary Guo
2026-04-15 16:58         ` Timur Tabi
2026-04-14 23:50 ` [PATCH v2 2/6] gpu: nova-core: do not consider 0xBB77 as a valid PCI ROM header signature Timur Tabi
2026-04-14 23:50 ` [PATCH v2 3/6] gpu: nova-core: only boot FRTS if its region is allocated Timur Tabi
2026-04-15  4:33   ` Eliot Courtney
2026-04-14 23:50 ` [PATCH v2 4/6] gpu: nova-core: add FbHal::frts_size() for GA100 support Timur Tabi
2026-04-15  4:36   ` Eliot Courtney
2026-04-15  6:55   ` Alexandre Courbot
2026-04-15 13:48   ` Gary Guo
2026-04-15 13:57     ` Alexandre Courbot [this message]
2026-04-15 16:57       ` Gary Guo
2026-04-15 16:59         ` Timur Tabi
2026-04-14 23:50 ` [PATCH v2 5/6] gpu: nova-core: skip the IFR header if present Timur Tabi
2026-04-15  5:23   ` Eliot Courtney
2026-04-15 21:08     ` Timur Tabi
2026-04-16  0:00       ` Timur Tabi
2026-04-17  4:09         ` Alexandre Courbot
2026-04-15  6:54   ` Alexandre Courbot
2026-04-15 13:49   ` Gary Guo
2026-04-15 14:00   ` Alexandre Courbot
2026-04-14 23:50 ` [PATCH v2 6/6] gpu: nova-core: enable GA100 Timur Tabi
2026-04-15 13:51   ` Gary Guo
2026-04-15 16:43     ` Timur Tabi
2026-04-15 16:58       ` Gary Guo
2026-04-15 17:01         ` Timur Tabi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DHTS5166DEXA.G18MTZS8U52V@nvidia.com \
    --to=acourbot@nvidia.com \
    --cc=dakr@kernel.org \
    --cc=ecourtney@nvidia.com \
    --cc=gary@garyguo.net \
    --cc=jhubbard@nvidia.com \
    --cc=joelagnelf@nvidia.com \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=ttabi@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox