aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/stackdepot.py
diff options
context:
space:
mode:
authorMichal Wajdeczko <[email protected]>2024-07-02 20:37:04 +0200
committerMichal Wajdeczko <[email protected]>2024-07-04 11:55:40 +0200
commit3078d9c8b6a0939bc732fd1c36ef86c0178127dd (patch)
tree90e5c007abe8ea171ed53a0b764300cf07243fea /scripts/gdb/linux/stackdepot.py
parent466a6c3855cf00653c14a92a6e9f8ae50077b77d (diff)
drm/xe: Use VF_CAP_REG for device wmb
To force a write barrier on the device memory, we write to the SOFTWARE_FLAGS_SPR33 register, but this particular register was selected because it was one of the writable and unused register. Since a write barrier should also work if we use the read-only register, switch to VF_CAP_REG register that is also marked as accessible for VFs. While at it, add simple kernel-doc for xe_device_wmb() function. Signed-off-by: Michal Wajdeczko <[email protected]> Cc: Matt Roper <[email protected]> Reviewed-by: Matt Roper <[email protected]> Reviewed-by: Himal Prasad Ghimiray <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions