summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-03-09 09:57:58 +1100
committerTimothy Arceri <[email protected]>2017-03-12 17:49:04 +1100
commitf8cc4c25b8985e7f834510ca9d34eec308f413e3 (patch)
tree0f5b2f65c8b81681eeb5e85f4cf87af6f66d0b59 /src/gallium/drivers/radeon
parentb822d9dd67b502565b30da37b90c1d70114b8409 (diff)
gallium/util: replace pipe_thread_create() with u_thread_create()
They do the same thing we just moved the function to be accessible to all of Mesa. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r--src/gallium/drivers/radeon/r600_gpu_load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/r600_gpu_load.c b/src/gallium/drivers/radeon/r600_gpu_load.c
index 1b51af4cdc0..3b45545b7b6 100644
--- a/src/gallium/drivers/radeon/r600_gpu_load.c
+++ b/src/gallium/drivers/radeon/r600_gpu_load.c
@@ -183,7 +183,7 @@ static uint64_t r600_read_mmio_counter(struct r600_common_screen *rscreen,
/* Check again inside the mutex. */
if (!rscreen->gpu_load_thread)
rscreen->gpu_load_thread =
- pipe_thread_create(r600_gpu_load_thread, rscreen);
+ u_thread_create(r600_gpu_load_thread, rscreen);
mtx_unlock(&rscreen->gpu_load_mutex);
}