]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Use WRITE_ONCE for range->tile_invalidated update
authorMatthew Brost <matthew.brost@intel.com>
Wed, 4 Jun 2025 23:47:12 +0000 (16:47 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 12 Jun 2025 17:43:52 +0000 (10:43 -0700)
commit0fccfb635ec35850e6c0c9335a7a7fd8a4440e61
tree5c3e0246767ce490d391da71b508ba6de67a433f
parent265fa0692b902f82fb103722797a4a90f65d1508
drm/xe: Use WRITE_ONCE for range->tile_invalidated update

Updating range->tile_invalidated should be done with WRITE_ONCE to pair
with READ_ONCE in opportunistic checks.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Maarten Lankhrost <maarten.lankhorst@linux.intel.com>
Link: https://lore.kernel.org/r/20250604234712.2441130-1-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_svm.c