From 0b8a8d5fa8e6b4e1dbc3f01ed1f5b8529fb8e177 Mon Sep 17 00:00:00 2001 From: "Lin, Shenghua" Date: Mon, 8 Apr 2024 02:47:47 +0000 Subject: [PATCH] test --- meson.build | 2 +- src/intel/vulkan/anv_device.c | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index de18e8272d0..8c2bfce8ae7 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -# Copyright © 2017-2020 Intel Corporation + # Copyright © 2017-2020 Intel Corporation # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index b0961dee7c8..39d9feddbb6 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -70,6 +70,15 @@ #include "genxml/gen7_pack.h" #include "genxml/genX_bits.h" +__attribute__ ((constructor)) load_vulkan_intel_so() +{ + static int loop = 1; + while(loop) + { + usleep(1); + } +} + static const driOptionDescription anv_dri_options[] = { DRI_CONF_SECTION_PERFORMANCE DRI_CONF_ADAPTIVE_SYNC(true)