From: Marek Olšák Date: Fri, 26 Jun 2015 17:01:23 +0000 (+0200) Subject: gallium/radeon: mark the gpu load thread stop trigger as volatile X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=245b464d5caa21680373ae5929dccd294078cc50;p=mesa.git gallium/radeon: mark the gpu load thread stop trigger as volatile --- diff --git a/src/gallium/drivers/radeon/r600_pipe_common.h b/src/gallium/drivers/radeon/r600_pipe_common.h index 2b27e58e0e2..a471426ea27 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