aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorMatthew Auld <matthew.auld@intel.com>2023-08-09 09:44:24 +0100
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-21 11:40:19 -0500
commit17d28aa8bdb11ba77d86a7ff228b1963afb7941d (patch)
tree2818f489f0c0d12b74936a019df612a4fc46755d /drivers/gpu
parent7f6c6e5085bd4e02f0fd555be76cf7f105c201e7 (diff)
drm/xe: don't warn for bogus pagefaults
This appears to be easily user triggerable so warning is perhaps too much. Rather just make it debug print. Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/534 Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/xe/xe_gt_pagefault.c4
-rw-r--r--drivers/gpu/drm/xe/xe_guc_submit.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/xe/xe_gt_pagefault.c b/drivers/gpu/drm/xe/xe_gt_pagefault.c
index d8ff05e25eda..21e0e9c7b634 100644
--- a/drivers/gpu/drm/xe/xe_gt_pagefault.c
+++ b/drivers/gpu/drm/xe/xe_gt_pagefault.c
@@ -265,7 +265,7 @@ static int send_pagefault_reply(struct xe_guc *guc,
static void print_pagefault(struct xe_device *xe, struct pagefault *pf)
{
- drm_warn(&xe->drm, "\n\tASID: %d\n"
+ drm_dbg(&xe->drm, "\n\tASID: %d\n"
"\tVFID: %d\n"
"\tPDATA: 0x%04x\n"
"\tFaulted Address: 0x%08x%08x\n"
@@ -370,7 +370,7 @@ static void pf_queue_work_func(struct work_struct *w)
if (unlikely(ret)) {
print_pagefault(xe, &pf);
pf.fault_unsuccessful = 1;
- drm_warn(&xe->drm, "Fault response: Unsuccessful %d\n", ret);
+ drm_dbg(&xe->drm, "Fault response: Unsuccessful %d\n", ret);
}
reply.dw0 = FIELD_PREP(PFR_VALID, 1) |
diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
index 19df4b67bfbb..b89964d6562e 100644
--- a/drivers/gpu/drm/xe/xe_guc_submit.c
+++ b/drivers/gpu/drm/xe/xe_guc_submit.c
@@ -1641,7 +1641,7 @@ int xe_guc_exec_queue_memory_cat_error_handler(struct xe_guc *guc, u32 *msg,
if (unlikely(!q))
return -EPROTO;
- drm_warn(&xe->drm, "Engine memory cat error: guc_id=%d", guc_id);
+ drm_dbg(&xe->drm, "Engine memory cat error: guc_id=%d", guc_id);
trace_xe_exec_queue_memory_cat_error(q);
/* Treat the same as engine reset */