Fixes: dcfc08f5b8a ("radv/sqtt: describe begin/end command buffers with user markers")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4044>
void
radv_describe_begin_cmd_buffer(struct radv_cmd_buffer *cmd_buffer)
{
- uint64_t device_id = (uint64_t)cmd_buffer->device;
+ uint64_t device_id = (uintptr_t)cmd_buffer->device;
struct rgp_sqtt_marker_cb_start marker = {};
struct radeon_cmdbuf *cs = cmd_buffer->cs;
void
radv_describe_end_cmd_buffer(struct radv_cmd_buffer *cmd_buffer)
{
- uint64_t device_id = (uint64_t)cmd_buffer->device;
+ uint64_t device_id = (uintptr_t)cmd_buffer->device;
struct rgp_sqtt_marker_cb_end marker = {};
struct radeon_cmdbuf *cs = cmd_buffer->cs;