summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2015-06-26 19:01:23 +0200
committerMarek Olšák <marek.olsak@amd.com>2015-07-05 15:08:59 +0200
commit245b464d5caa21680373ae5929dccd294078cc50 (patch)
tree6d6feb59667835d6f35ffe9a8ceab33ce95e00b1
parent872ede6fd136c7f9701cc60268ab195a48e75e67 (diff)
downloadexternal_mesa3d-245b464d5caa21680373ae5929dccd294078cc50.zip
external_mesa3d-245b464d5caa21680373ae5929dccd294078cc50.tar.gz
external_mesa3d-245b464d5caa21680373ae5929dccd294078cc50.tar.bz2
gallium/radeon: mark the gpu load thread stop trigger as volatile
-rw-r--r--src/gallium/drivers/radeon/r600_pipe_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.h b/src/gallium/drivers/radeon/r600_pipe_common.h
index 2b27e58..a471426 100644
--- 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