]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't show the blank process name for internal/simulated errors
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 Jan 2020 13:21:07 +0000 (13:21 +0000)
committerJani Nikula <jani.nikula@intel.com>
Tue, 11 Feb 2020 09:49:36 +0000 (11:49 +0200)
commite90fa992463e8b5022071abe7b891b67c28297ea
tree1da45bfc7bbb0f91b29078c0b3012784ace60459
parent23438aa5c4c88fbc16716bad068aa77aa64b16d3
drm/i915: Don't show the blank process name for internal/simulated errors

For a simulated preemption reset, we don't populate the request and so
do not fill in the guilty context name.

[   79.991294] i915 0000:00:02.0: GPU HANG: ecode 9:1:e757fefe, in  [0]

Just don't mention the empty string in the logs!

Fixes: 79e295ac06a2 ("drm/i915: Start chopping up the GPU error capture")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200121132107.267709-1-chris@chris-wilson.co.uk
(cherry picked from commit 29baf3ae8daa4c673de58106ff41c7236dff57f4)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_gpu_error.c