Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ShenghuaLinINTEL committed Apr 8, 2024
1 parent 17a6b4f commit 0b8a8d5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -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
Expand Down
9 changes: 9 additions & 0 deletions src/intel/vulkan/anv_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0b8a8d5

Please sign in to comment.