mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:44:45 +01:00
drm/i915/gt: Use gt_err for GT info
It will be more informative regarding GT if we use gt_err instead. Cc: Andi Shyti <andi.shyti@intel.com> Signed-off-by: Tejas Upadhyay <tejas.upadhyay@intel.com> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com> Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230428125952.4037964-2-tejas.upadhyay@intel.com
This commit is contained in:
parent
1324680a80
commit
860cf3bd71
1 changed files with 2 additions and 1 deletions
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include <linux/sort.h>
|
||||
|
||||
#include "gt/intel_gt_print.h"
|
||||
#include "i915_selftest.h"
|
||||
#include "intel_engine_regs.h"
|
||||
#include "intel_gpu_commands.h"
|
||||
|
|
@ -402,7 +403,7 @@ static int live_engine_pm(void *arg)
|
|||
|
||||
/* gt wakeref is async (deferred to workqueue) */
|
||||
if (intel_gt_pm_wait_for_idle(gt)) {
|
||||
pr_err("GT failed to idle\n");
|
||||
gt_err(gt, "GT failed to idle\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue