diff options
author | Zephyron <zephyron@citron-emu.org> | 2025-02-01 19:48:11 +1000 |
---|---|---|
committer | Zephyron <zephyron@citron-emu.org> | 2025-02-01 19:48:11 +1000 |
commit | ecc32958ec1a14f48d51ac48001b3b7e101d994c (patch) | |
tree | ab2812fa953ce503b8df7aa7d4fdc37f2a77d9a3 /CMakeLists.txt | |
parent | e8bbdbce4250c5f6d7dc48d6895bd653969e5c4a (diff) |
nvdrv: Add GetTpcMasks2 support and improve memory mapping validation
This commit makes two main changes:
1. Adds support for GetTpcMasks2 (ioctl 0x13) in nvhost_ctrl_gpu:
- Implements new GetTpcMasks2 method to handle TPC mask queries
- Adds IoctlGetTpcMasks structure to store mask parameters
- Returns conservative single TPC configuration for compatibility
2. Enhances memory mapping validation in HostMemory:
- Adds verification check after memory mapping operations
- Improves error handling for direct mapped address enabling
- Adds logging for mapping and direct address failures
Additional changes:
- Updates copyright headers to include citron Emulator Project
- Improves error handling and validation in several paths
- Adds debug logging for TPC mask operations
This improves GPU virtualization support and memory mapping reliability.
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions