iris: Need to | 1 when asking for timestamps

This commit is contained in:
Kenneth Graunke 2018-09-28 16:45:04 +02:00
parent 1d91eba7dc
commit dff174c103
1 changed files with 1 additions and 1 deletions

View File

@ -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;