diff options
author | David Riley <davidriley@chromium.org> | 2019-06-11 00:18:10 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-06-11 10:03:32 +0300 |
commit | 9ff3a5c88e1f1ab17a31402b96d45abe14aab9d7 (patch) | |
tree | 5f224e0d93cd493283881dd7ee567c86a20ee202 /include/drm/drm_client.h | |
parent | 47b757fba2a382d5f818d1884fe87c4014818088 (diff) | |
download | linux-9ff3a5c88e1f1ab17a31402b96d45abe14aab9d7.tar.xz |
drm/virtio: Add memory barriers for capset cache.
After data is copied to the cache entry, atomic_set is used indicate
that the data is the entry is valid without appropriate memory barriers.
Similarly the read side was missing the corresponding memory barriers.
Signed-off-by: David Riley <davidriley@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20190610211810.253227-5-davidriley@chromium.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/drm/drm_client.h')
0 files changed, 0 insertions, 0 deletions