diff options
author | Zephyron <zephyron@citron-emu.org> | 2025-01-05 13:45:04 +1000 |
---|---|---|
committer | Zephyron <zephyron@citron-emu.org> | 2025-01-05 13:45:04 +1000 |
commit | 8f5e3516fe1921f91c8efd9c0a9cdf1a7d1124b1 (patch) | |
tree | feb779fbd95eedaa170f8f8503ee328eb75e2b89 /src/citron/configuration/configure_web.ui | |
parent | 9be4bf9aa585c68a6282cbd1a46bc874a5b2d018 (diff) |
nvdrv: Fix incorrect IoctlZbcSetTable structure size assertion
Resolves a build failure caused by a mismatch between the defined and expected size of the `IoctlZbcSetTable` structure in `nvhost_ctrl_gpu`. The `static_assert` incorrectly expected the size to be 44 bytes, while the actual size was 48 bytes.
Changes include:
- Updated `static_assert` to correctly reflect the 48-byte size of `IoctlZbcSetTable`.
- Verified packing and alignment to ensure compliance with hardware specifications.
- Reviewed and confirmed correctness of `u32` type definitions.
This fix addresses a regression introduced in commit 9be4bf9aa5, which implemented ZBCSetTable functionality, and ensures successful compilation and adherence to the ZBC table implementation's design.
Diffstat (limited to 'src/citron/configuration/configure_web.ui')
0 files changed, 0 insertions, 0 deletions