aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/radeon/drm/radeon_winsys.h
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/winsys/radeon/drm/radeon_winsys.h
parent413ca78af3b29036c051c827a0bfc4d20454e6bf (diff)
winsys/radeon: use query_value for timestamp, remove query_timestamp
Diffstat (limited to 'src/gallium/winsys/radeon/drm/radeon_winsys.h')
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_winsys.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_winsys.h b/src/gallium/winsys/radeon/drm/radeon_winsys.h
index b1bf1ba5c18..a37bd120cb8 100644
--- a/src/gallium/winsys/radeon/drm/radeon_winsys.h
+++ b/src/gallium/winsys/radeon/drm/radeon_winsys.h
@@ -149,7 +149,8 @@ enum ring_type {
enum radeon_value_id {
RADEON_REQUESTED_VRAM_MEMORY,
RADEON_REQUESTED_GTT_MEMORY,
- RADEON_BUFFER_WAIT_TIME_NS
+ RADEON_BUFFER_WAIT_TIME_NS,
+ RADEON_TIMESTAMP
};
struct winsys_handle;
@@ -486,13 +487,6 @@ struct radeon_winsys {
int (*surface_best)(struct radeon_winsys *ws,
struct radeon_surface *surf);
- /**
- * Return the current timestamp (gpu clock) on r600 and later GPUs.
- *
- * \param ws The winsys this function is called from.
- */
- uint64_t (*query_timestamp)(struct radeon_winsys *ws);
-
uint64_t (*query_value)(struct radeon_winsys *ws,
enum radeon_value_id value);
};