ac/sqtt: use void pointers for start/stop CS

Similar to BOs which are different structs between drivers.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36292>
This commit is contained in:
Samuel Pitoiset 2025-10-07 16:02:33 +02:00 committed by Marge Bot
parent 12cccb2f75
commit a7ae26c96c

View file

@ -18,7 +18,6 @@
#define SQTT_BUFFER_ALIGN_SHIFT 12
struct radeon_cmdbuf;
struct radeon_info;
/**
@ -34,8 +33,9 @@ struct radeon_info;
* around each command needed. The primary user of this is RGP.
*/
struct ac_sqtt {
struct radeon_cmdbuf *start_cs[2];
struct radeon_cmdbuf *stop_cs[2];
/* struct radeon_cmdbuf from RADV or RadeonSI */
void *start_cs[2];
void *stop_cs[2];
/* struct radeon_winsys_bo or struct pb_buffer */
void *bo;
uint64_t buffer_va;