]> 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)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 Jan 2020 22:27:26 +0000 (22:27 +0000)
commit402dcbb7773033141169f7f8a5cecd8e7d5a944e
treeff411d028dc6165a676c8d8ddaa02bf9d52158a0
parent5e6de2c501d112d6d8a6cf90bbcf6fd63340724b
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: ccb336112b99 ("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
drivers/gpu/drm/i915/i915_gpu_error.c