summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-11-29 15:10:20 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2016-11-29 18:52:29 +0300
commit334636c67e86afff9334b64e942bad80bbdf869f (patch)
tree5ed167e9e966913eb0a4657b139099a7a3bc759b /include/uapi
parent7f9e77545b92bcb894b8e2be5646535e8ba8da9e (diff)
downloadlinux-334636c67e86afff9334b64e942bad80bbdf869f.tar.xz
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 <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/20161129121024.22650-2-chris@chris-wilson.co.uk Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions