Skip to content
Commit d16e137e authored by Lionel Landwerlin's avatar Lionel Landwerlin
Browse files

drm/i915/perf: don't read head/tail pointers outside critical section



Reading or writing those fields should only happen under
stream->oa_buffer.ptr_lock.

Signed-off-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: d1df41eb ("drm/i915/perf: rework aging tail workaround")
Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Acked-by: default avatarAshutosh Dixit <ashutosh.dixit@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200330091411.37357-1-lionel.g.landwerlin@intel.com
parent b28b34ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment