diff options
author | Matthew Brost <matthew.brost@intel.com> | 2021-09-09 09:47:34 -0700 |
---|---|---|
committer | John Harrison <John.C.Harrison@Intel.com> | 2021-09-13 11:30:42 -0700 |
commit | f16d5cb981a557c1a32bc43ef28b5dc254f7239c (patch) | |
tree | d7cb8e230897d17c86ed17e3bfc9a69f7cd8b1dd /tools/perf/scripts/python/stackcollapse.py | |
parent | 422cda4f50091bdfa114c7d19fce31919c920fe1 (diff) |
drm/i915/guc: Don't touch guc_state.sched_state without a lock
Before we did some clever tricks to not use the a lock when touching
guc_state.sched_state in certain cases. Don't do that, enforce the use
of the lock.
v2:
(kernel test robo )
- Add __maybe_unused to sched_state_is_init()
v3: rebase after the unused code path removal has been moved to an
earlier patch.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210909164744.31249-14-matthew.brost@intel.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions