diff options
| author | Chris Wilson <[email protected]> | 2016-11-29 12:10:20 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2016-11-29 15:52:29 +0000 |
| commit | 334636c67e86afff9334b64e942bad80bbdf869f (patch) | |
| tree | 5ed167e9e966913eb0a4657b139099a7a3bc759b /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 7f9e77545b92bcb894b8e2be5646535e8ba8da9e (diff) | |
drm/i915: Trim i915_guc_info() stack usage
i915_guc_info() (part of debugfs output) tries to avoid holding
struct_mutex for a long period by copying onto the stack. This causes a
warning that the stack frame is massive, so stop doing that. We can even
forgo holding the struct_mutex here as that doesn't serialise the values
being read (and the lists used exist for the device lifetime).
v2: Skip printing anything if guc->execbuf_client is disabled (avoids
potential NULL dereference).
Signed-off-by: Chris Wilson <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions