diff options
author | Kenneth Graunke <[email protected]> | 2018-09-28 16:45:04 +0200 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:08 -0800 |
commit | dff174c103146a3bb60f660abe0f6aa5468f8725 (patch) | |
tree | eab041e3c1f4a5d92516ac10107296b79d713516 | |
parent | 1d91eba7dcfb37151399b21b419b0bef26a4431a (diff) |
iris: Need to | 1 when asking for timestamps
-rw-r--r-- | src/gallium/drivers/iris/iris_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c index 658ecc1f591..ca670dc8a33 100644 --- a/src/gallium/drivers/iris/iris_screen.c +++ b/src/gallium/drivers/iris/iris_screen.c @@ -378,7 +378,7 @@ iris_get_timestamp(struct pipe_screen *pscreen) const unsigned TIMESTAMP = 0x2358; uint64_t result; - iris_reg_read(screen->bufmgr, TIMESTAMP, &result); + iris_reg_read(screen->bufmgr, TIMESTAMP | 1, &result); result = iris_timebase_scale(&screen->devinfo, result); result &= (1ull << 36) - 1; |