diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/xe/xe_rtp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_rtp.c b/drivers/gpu/drm/xe/xe_rtp.c index 5be25fe0e8e4..5dcdfe45f0cb 100644 --- a/drivers/gpu/drm/xe/xe_rtp.c +++ b/drivers/gpu/drm/xe/xe_rtp.c @@ -84,7 +84,9 @@ static bool rule_matches(const struct xe_device *xe, match = r->match_func(gt, hwe); break; default: - XE_WARN_ON(r->match_type); + drm_warn(&xe->drm, "Invalid RTP match %u\n", + r->match_type); + match = false; } if (!match) |