From: Michal Wajdeczko <michal.wajdeczko@intel.com>
To: Ashutosh Dixit <ashutosh.dixit@intel.com>,
intel-xe@lists.freedesktop.org
Subject: Re: [PATCH] drm/xe/oa: Remove WARN_ON's for unsupported configurations
Date: Thu, 20 Jun 2024 01:04:42 +0200 [thread overview]
Message-ID: <d36fc332-59e8-4090-9741-154052bc1046@intel.com> (raw)
In-Reply-To: <20240619225617.3465899-1-ashutosh.dixit@intel.com>
On 20.06.2024 00:56, Ashutosh Dixit wrote:
> The OA ioctl's already have drm_dbg's which are sufficient to tell the user
> that OA is not supported on unsupported configurations (execlist mode and
> platform gen < 12). Having additional WARN_ON's for these during driver
> probe create unnecessary noise. Just remove these WARN_ON's.
>
> Suggested-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> ---
> drivers/gpu/drm/xe/xe_oa.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_oa.c b/drivers/gpu/drm/xe/xe_oa.c
> index 34206e0b6a08..5093a89a31f1 100644
> --- a/drivers/gpu/drm/xe/xe_oa.c
> +++ b/drivers/gpu/drm/xe/xe_oa.c
> @@ -2382,7 +2382,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;
next prev parent reply other threads:[~2024-06-19 23:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-19 22:56 [PATCH] drm/xe/oa: Remove WARN_ON's for unsupported configurations Ashutosh Dixit
2024-06-19 23:01 ` ✓ CI.Patch_applied: success for " Patchwork
2024-06-19 23:01 ` ✓ CI.checkpatch: " Patchwork
2024-06-19 23:02 ` ✓ CI.KUnit: " Patchwork
2024-06-19 23:04 ` Michal Wajdeczko [this message]
2024-06-20 16:17 ` [PATCH] " Dixit, Ashutosh
2024-06-19 23:14 ` ✓ CI.Build: success for " Patchwork
2024-06-19 23:16 ` ✗ CI.Hooks: failure " Patchwork
2024-06-19 23:17 ` ✓ CI.checksparse: success " Patchwork
2024-06-19 23:39 ` ✓ CI.BAT: " Patchwork
2024-06-20 7:17 ` ✗ CI.FULL: failure " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d36fc332-59e8-4090-9741-154052bc1046@intel.com \
--to=michal.wajdeczko@intel.com \
--cc=ashutosh.dixit@intel.com \
--cc=intel-xe@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox