summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_request.h
diff options
context:
space:
mode:
authorJohn Harrison <John.C.Harrison@Intel.com>2021-12-09 20:40:22 -0800
committerJohn Harrison <John.C.Harrison@Intel.com>2021-12-10 17:00:25 -0800
commit76aee8658b8f5836ace0a423157f29fcaec65e30 (patch)
treeb473134d538a4e23b32e4d9d88e162b94e3c9cd1 /drivers/gpu/drm/i915/i915_request.h
parent3d832f370d16a8757024b2523c4c6b64dd7eac6a (diff)
drm/i915/guc: Don't go bang in GuC log if no GuC
If the GuC has failed to load for any reason and then the user pokes the debugfs GuC log interface, a BUG and/or null pointer deref can occur. Don't let that happen. Signed-off-by: John Harrison <John.C.Harrison@Intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211210044022.1842938-5-John.C.Harrison@Intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_request.h')
0 files changed, 0 insertions, 0 deletions