diff options
author | 2020-07-10 20:32:39 +0100 | |
---|---|---|
committer | 2020-07-10 22:06:35 +0100 | |
commit | 68172f2c0b8acc5609284651f1316246f3a3a65b (patch) | |
tree | 88fd73bb9b735dcaeda2b0d9c318a20903274cb0 /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
parent | drm/i915/gt: Be defensive in the face of false CS events (diff) | |
download | wireguard-linux-68172f2c0b8acc5609284651f1316246f3a3a65b.tar.xz wireguard-linux-68172f2c0b8acc5609284651f1316246f3a3a65b.zip |
drm/i915: Pull printing GT capabilities on error to err_print_gt
We try not to assume that we captured any information, and so have to
check that error->gt exists before reporting. This check was missed in
err_print_capabilities, so lets break up the capability info and push it
into the GT dump.
We are still a long way from yamlifying this output!
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: 792592e72aba ("drm/i915: Move the engine mask to intel_gt_info")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200710193239.5419-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions