diff options
author | Niranjana Vishwanathapura <[email protected]> | 2022-06-15 00:13:46 +0530 |
---|---|---|
committer | Ramalingam C <[email protected]> | 2022-06-27 23:46:35 +0530 |
commit | 7307e91bfcd0e3f123aab01b30557f93923b6d73 (patch) | |
tree | 3dd10c668bf173d4ada2fcf10921d5f819e66a6b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 7d8097073caa334ed6187a964645335324231e01 (diff) |
drm/i915: Do not access rq->engine without a reference
In i915_fence_get_driver_name(), user may not hold a
reference to rq->engine. Hence do not access it. Instead,
store required device private pointer in 'rq->i915' and use it.
Signed-off-by: Niranjana Vishwanathapura <[email protected]>
Suggested-by: Matthew Brost <[email protected]>
Reviewed-by: Matthew Brost <[email protected]>
Signed-off-by: Ramalingam C <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions