summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-04-10 17:01:07 +0200
committerMarek Olšák <[email protected]>2013-04-16 13:56:47 +0200
commit817723baf8433fdcc9c71c165f9c6ea1d11bc4c4 (patch)
treeb73b2e7f0badff1e800c05b3ad5f57d530b05ebb /src/gallium/drivers
parent413ca78af3b29036c051c827a0bfc4d20454e6bf (diff)
winsys/radeon: use query_value for timestamp, remove query_timestamp
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.c2
1 files changed, 1 insertions, 1 deletions
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;
}