diff options
| author | Zephyron <zephyron@citron-emu.org> | 2025-02-01 19:48:11 +1000 |
|---|---|---|
| committer | Mike Lothian <mike@fireburn.co.uk> | 2025-05-11 14:54:45 +0100 |
| commit | 8c66caeb5ee9bcec08245e346f1abc921fc94859 (patch) | |
| tree | 9721bcf1f4ab7a6ad16f3941d799deb52900e7af /src/video_core/buffer_cache/buffer_cache.cpp | |
| parent | 25de2e9e47c68e169ab365368d88e80698e5f24c (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 'src/video_core/buffer_cache/buffer_cache.cpp')
0 files changed, 0 insertions, 0 deletions
