From 817723baf8433fdcc9c71c165f9c6ea1d11bc4c4 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 10 Apr 2013 17:01:07 +0200 Subject: winsys/radeon: use query_value for timestamp, remove query_timestamp --- src/gallium/drivers/r600/r600_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 0c115787c09..a080bba5906 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -1149,7 +1149,7 @@ static uint64_t r600_get_timestamp(struct pipe_screen *screen) { struct r600_screen *rscreen = (struct r600_screen*)screen; - return 1000000 * rscreen->ws->query_timestamp(rscreen->ws) / + return 1000000 * rscreen->ws->query_value(rscreen->ws, RADEON_TIMESTAMP) / rscreen->info.r600_clock_crystal_freq; } -- cgit v1.2.3