diff options
author | Zhanjun Dong <zhanjun.dong@intel.com> | 2024-10-04 22:34:25 +0300 |
---|---|---|
committer | Matt Roper <matthew.d.roper@intel.com> | 2024-10-08 19:34:28 +0300 |
commit | 84d15f426110c9f39cedf499b04d7b3642dca428 (patch) | |
tree | 5af8e3e542ffa4b86a2360fa81d8950c9a3e0e22 /tools/perf/scripts/python/gecko.py | |
parent | b170d696c1e2226713471d810c63b1162335079f (diff) | |
download | linux-84d15f426110c9f39cedf499b04d7b3642dca428.tar.xz |
drm/xe/guc: Add capture size check in GuC log buffer
Capture-nodes generated by GuC are placed in the GuC capture ring
buffer which is a sub-region of the larger Guc-Log-buffer.
Add capture output size check before allocating the shared buffer.
Signed-off-by: Zhanjun Dong <zhanjun.dong@intel.com>
Reviewed-by: Alan Previn <alan.previn.teres.alexis@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241004193428.3311145-4-zhanjun.dong@intel.com
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions