projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
872ede6
)
gallium/radeon: mark the gpu load thread stop trigger as volatile
author
Marek Olšák
<marek.olsak@amd.com>
Fri, 26 Jun 2015 17:01:23 +0000
(19:01 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Sun, 5 Jul 2015 13:08:59 +0000
(15:08 +0200)
src/gallium/drivers/radeon/r600_pipe_common.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/r600_pipe_common.h
b/src/gallium/drivers/radeon/r600_pipe_common.h
index 2b27e58e0e2e91f20f858d3771f175c24873986a..a471426ea2759f07f58fe2ed81c123a48a135c44 100644
(file)
--- a/
src/gallium/drivers/radeon/r600_pipe_common.h
+++ b/
src/gallium/drivers/radeon/r600_pipe_common.h
@@
-290,7
+290,7
@@
struct r600_common_screen {
pipe_thread gpu_load_thread;
unsigned gpu_load_counter_busy;
unsigned gpu_load_counter_idle;
-
unsigned
gpu_load_stop_thread; /* bool */
+
volatile unsigned
gpu_load_stop_thread; /* bool */
};
/* This encapsulates a state or an operation which can emitted into the GPU