diff options
-rw-r--r-- | drivers/gpu/drm/xe/xe_oa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_oa.c b/drivers/gpu/drm/xe/xe_oa.c index 36b2e89b78b6..eaa5fe5fd75b 100644 --- a/drivers/gpu/drm/xe/xe_oa.c +++ b/drivers/gpu/drm/xe/xe_oa.c @@ -2385,7 +2385,7 @@ int xe_oa_init(struct xe_device *xe) int ret; /* Support OA only with GuC submission and Gen12+ */ - if (XE_WARN_ON(!xe_device_uc_enabled(xe)) || XE_WARN_ON(GRAPHICS_VER(xe) < 12)) + if (!xe_device_uc_enabled(xe) || GRAPHICS_VER(xe) < 12) return 0; oa->xe = xe; |