summaryrefslogtreecommitdiff
path: root/src/video_core/buffer_cache
diff options
context:
space:
mode:
authorZephyron <zephyron@citron-emu.org>2025-01-05 13:45:04 +1000
committerMike Lothian <mike@fireburn.co.uk>2025-05-11 12:17:03 +0100
commitf1afe954ecda0e34d166a54d80255f130f01c653 (patch)
treea662f91f84ab8a784cbf4d5553665ee8faa0fbc1 /src/video_core/buffer_cache
parentde5f95c477e8c1108ebf092c28e60f71bd009e53 (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/video_core/buffer_cache')
0 files changed, 0 insertions, 0 deletions