Re: [PATCH] gpu: nova-core: require little endian
From: Joel Fernandes
Date: Tue Apr 07 2026 - 14:30:30 EST
On 4/7/2026 2:02 PM, Timur Tabi wrote:
> On Tue, 2026-04-07 at 12:56 +0200, Danilo Krummrich wrote:
>> On Mon Apr 6, 2026 at 6:30 PM CEST, Joel Fernandes wrote:
>>> Nouveau does not do this, and no other GPU driver afaics either.
>>
>> Nouveau has nvkm_device_endianness() [1], which it configured before everything
>> else is done.
>>
>> I assume that's not an option for later GPUs?
>>
>> [1]
>> https://elixir.bootlin.com/linux/v6.19.11/source/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c#L3111
>
> Pascal is the last GPU to have NV_PMC_BOOT_1_ENDIAN0. If nvkm_device_endianness() is called on
> Turing, then that might be a bug.
Yes, this was on old/legacy GPUs, not GSP-based ones.
thanks,
--
Joel Fernandes