diff options
author | Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com> | 2022-06-14 21:43:46 +0300 |
---|---|---|
committer | Ramalingam C <ramalingam.c@intel.com> | 2022-06-27 21:16:35 +0300 |
commit | 7307e91bfcd0e3f123aab01b30557f93923b6d73 (patch) | |
tree | 3dd10c668bf173d4ada2fcf10921d5f819e66a6b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7d8097073caa334ed6187a964645335324231e01 (diff) | |
download | linux-7307e91bfcd0e3f123aab01b30557f93923b6d73.tar.xz |
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 <niranjana.vishwanathapura@intel.com>
Suggested-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220614184348.23746-2-ramalingam.c@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions