From: Kenneth Graunke Date: Fri, 28 Sep 2018 14:45:04 +0000 (+0200) Subject: iris: Need to | 1 when asking for timestamps X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dff174c103146a3bb60f660abe0f6aa5468f8725;p=mesa.git iris: Need to | 1 when asking for timestamps --- 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;