radv: dump the pipeline hash to the gpu hang report
It can be useful to verify that a specific pipeline causes a hang. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25908>
This commit is contained in:
committed by
Marge Bot
parent
5cb00f7e77
commit
7ec2544a9b
@@ -469,6 +469,8 @@ radv_dump_queue_state(struct radv_queue *queue, const char *dump_dir, FILE *f)
|
||||
|
||||
pipeline = radv_get_saved_pipeline(queue->device, ring);
|
||||
if (pipeline) {
|
||||
fprintf(f, "Pipeline hash: %" PRIx64 "\n", pipeline->pipeline_hash);
|
||||
|
||||
if (pipeline->type == RADV_PIPELINE_GRAPHICS) {
|
||||
struct radv_graphics_pipeline *graphics_pipeline = radv_pipeline_to_graphics(pipeline);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user