mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-19 15:48:19 +02:00
Replaying a dump file requires the VM state in order to feed the replay tool with the necessary VMA properties that described the hang, however, these properties are not necessarily useful once the replay tool re-runs said traces, however, this patch makes this optional. Signed-off-by: Carlos Santa <carlos.santa@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34829>
19 lines
605 B
C
19 lines
605 B
C
/*
|
|
* Copyright 2025 Intel Corporation
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <stdio.h>
|
|
#include <stdbool.h>
|
|
|
|
#include "util/u_dynarray.h"
|
|
#include "common/intel_hang_dump.h"
|
|
#include "intel/dev/intel_device_info.h"
|
|
|
|
bool process_xe_dmp_file(int file_fd, int drm_fd, const struct intel_device_info *devinfo,
|
|
struct util_dynarray *buffers, void *mem_ctx,
|
|
struct intel_hang_dump_block_exec *init,
|
|
struct intel_hang_dump_block_exec *exec,
|
|
uint32_t vm_uapi_flags, uint32_t bo_dumpable);
|