From dff174c103146a3bb60f660abe0f6aa5468f8725 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 28 Sep 2018 16:45:04 +0200 Subject: iris: Need to | 1 when asking for timestamps --- src/gallium/drivers/iris/iris_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/iris/iris_screen.c') 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; -- cgit v1.2.3