diff options
| author | Eliot Courtney <ecourtney@nvidia.com> | 2026-04-07 12:59:50 +0900 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-04-29 23:47:45 +0200 |
| commit | d39e22cf87b664d2398523294055e1d6b96dde1f (patch) | |
| tree | 25bee23b439280b6c404dfff562756efd206f455 | |
| parent | a4c6d5d146157228bc03429cf7926d8a14072c84 (diff) | |
| download | linux-d39e22cf87b664d2398523294055e1d6b96dde1f.tar.gz linux-d39e22cf87b664d2398523294055e1d6b96dde1f.zip | |
gpu: nova: require little endian
The driver already assumes little endian in a lot of locations. For
example, all the code that reads RPCs out of the command queue just
directly interprets the bytes.
Make this explicit in Kconfig.
Signed-off-by: Eliot Courtney <ecourtney@nvidia.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Link: https://patch.msgid.link/20260407-fix-kconfig-v2-1-6b4fb06c690c@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
| -rw-r--r-- | drivers/gpu/drm/nova/Kconfig | 1 | ||||
| -rw-r--r-- | drivers/gpu/nova-core/Kconfig | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nova/Kconfig b/drivers/gpu/drm/nova/Kconfig index 3e637ad7b5ba..a2028b8539d7 100644 --- a/drivers/gpu/drm/nova/Kconfig +++ b/drivers/gpu/drm/nova/Kconfig @@ -4,6 +4,7 @@ config DRM_NOVA depends on DRM=y depends on PCI depends on RUST + depends on !CPU_BIG_ENDIAN select AUXILIARY_BUS select NOVA_CORE default n diff --git a/drivers/gpu/nova-core/Kconfig b/drivers/gpu/nova-core/Kconfig index a4f2380654e2..d8456f8eaa05 100644 --- a/drivers/gpu/nova-core/Kconfig +++ b/drivers/gpu/nova-core/Kconfig @@ -3,6 +3,7 @@ config NOVA_CORE depends on 64BIT depends on PCI depends on RUST + depends on !CPU_BIG_ENDIAN select AUXILIARY_BUS select RUST_FW_LOADER_ABSTRACTIONS default n |
