anv: replace magic | 1 with already #define'd name

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2797>
This commit is contained in:
Eric Engestrom
2019-05-21 18:05:34 +01:00
committed by Marge Bot
parent e27f311c85
commit a62ee262fd

View File

@@ -4448,7 +4448,7 @@ VkResult anv_GetCalibratedTimestampsEXT(
for (d = 0; d < timestampCount; d++) {
switch (pTimestampInfos[d].timeDomain) {
case VK_TIME_DOMAIN_DEVICE_EXT:
ret = anv_gem_reg_read(device->fd, TIMESTAMP | 1,
ret = anv_gem_reg_read(device->fd, TIMESTAMP | I915_REG_READ_8B_WA,
&pTimestamps[d]);
if (ret != 0) {