iris: Use READ_ONCE and WRITE_ONCE for snapshots_landed
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 7 Feb 2019 16:42:50 +0000 (08:42 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:11 +0000 (10:26 -0800)
commit9376799bd623d3e547afc2d31483f1cb44c2ba65
tree41a19e3e4369db4fccdfc6f5f91946e6ccc828ba
parent18e31a9b311a6c1b35eedfae48d7512eea5be68d
iris: Use READ_ONCE and WRITE_ONCE for snapshots_landed

Suggested by Chris Wilson, if only to make it obvious to the human
readers that these are volatile reads.  It may also be necessary for
the compiler in a few cases.
src/gallium/drivers/iris/iris_batch.c
src/gallium/drivers/iris/iris_query.c
src/gallium/drivers/iris/iris_screen.h