diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-07-06 18:49:26 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-07-06 21:28:11 +0100 |
commit | 3a32497f0dbe170794e1506deb41dc44c4fea8d9 (patch) | |
tree | f62703594d024a6d75e61178c4023ad098c05787 /drivers/pwm/pwm-stm32.c | |
parent | 8b293eb53a7d7605f762351918083a4e402dc784 (diff) |
drm/i915/selftests: Provide full mb() around clflush
clflush is an unserialised instruction and the IA manual strongly advises
you to serialise it with a mb. To be cautious, apply one before and one
after, so that it is serialised with both writes and reads without
worrying too much about the required direction.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180706174926.4712-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions