From: "Dixit, Ashutosh" <ashutosh.dixit@intel.com>
To: Matt Roper <matthew.d.roper@intel.com>
Cc: intel-xe@lists.freedesktop.org
Subject: Re: [PATCH 03/17] drm/xe/oa/uapi: Add OA data formats
Date: Thu, 20 Jun 2024 10:57:17 -0700 [thread overview]
Message-ID: <87msnfqyyq.wl-ashutosh.dixit@intel.com> (raw)
In-Reply-To: <20240620172846.GM2906448@mdroper-desk1.amr.corp.intel.com>
On Thu, 20 Jun 2024 10:28:46 -0700, Matt Roper wrote:
>
> > @@ -636,10 +637,14 @@ int xe_device_probe(struct xe_device *xe)
> >
> > xe_heci_gsc_init(xe);
> >
> > - err = xe_display_init(xe);
> > + err = xe_oa_init(xe);
> > if (err)
> > goto err_irq_shutdown;
> >
> > + err = xe_display_init(xe);
> > + if (err)
> > + goto err_oa_fini;
> > +
> > err = drm_dev_register(&xe->drm, 0);
> > if (err)
> > goto err_fini_display;
>
> I didn't really look at this series earlier, but it seems odd to me that
> we're sticking a bunch of OA code at the device level. Isn't OA a
> GT-specific concept? As far as I know, there's no observability
> functionality in the soci/sgunit/display.
That's correct, there is no OA HW at device level and a GT can potentially
have multiple OA units. But OA configuration information (which perf
counters to capture) and format information (format of the OA data) is
applicable to multiple OA units spread across GT's and is maintained at
device level.
Look at OA data struct's in xe_oa_types.h, specially 'struct xe_oa' which
contains OA device level information.
Ashutosh
next prev parent reply other threads:[~2024-06-20 18:03 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-27 1:43 [PATCH v15 00/17] Add OA functionality to Xe Ashutosh Dixit
2024-05-27 1:43 ` [PATCH 01/17] drm/xe/perf/uapi: "Perf" layer to support multiple perf counter stream types Ashutosh Dixit
2024-05-27 1:43 ` [PATCH 02/17] drm/xe/perf/uapi: Add perf_stream_paranoid sysctl Ashutosh Dixit
2024-05-27 1:43 ` [PATCH 03/17] drm/xe/oa/uapi: Add OA data formats Ashutosh Dixit
2024-06-20 17:28 ` Matt Roper
2024-06-20 17:57 ` Dixit, Ashutosh [this message]
2024-05-27 1:43 ` [PATCH 04/17] drm/xe/oa/uapi: Initialize OA units Ashutosh Dixit
2024-05-27 1:43 ` [PATCH 05/17] drm/xe/oa/uapi: Add/remove OA config perf ops Ashutosh Dixit
2024-05-27 1:43 ` [PATCH 06/17] drm/xe/oa/uapi: Define and parse OA stream properties Ashutosh Dixit
2024-05-27 1:43 ` [PATCH 07/17] drm/xe/oa: OA stream initialization (OAG) Ashutosh Dixit
2024-05-27 7:04 ` Lionel Landwerlin
2024-05-28 5:27 ` Dixit, Ashutosh
2024-05-28 5:47 ` Lionel Landwerlin
2024-05-28 6:17 ` Dixit, Ashutosh
2024-05-28 6:39 ` Lionel Landwerlin
2024-05-28 7:16 ` Dixit, Ashutosh
2024-05-28 7:43 ` Lionel Landwerlin
2024-05-29 4:55 ` Dixit, Ashutosh
2024-05-29 6:11 ` Dixit, Ashutosh
2024-05-29 6:29 ` Lionel Landwerlin
2024-05-27 1:43 ` [PATCH 08/17] drm/xe/oa/uapi: Expose OA stream fd Ashutosh Dixit
2024-05-27 1:43 ` [PATCH 09/17] drm/xe/oa/uapi: Read file_operation Ashutosh Dixit
2024-05-27 1:43 ` [PATCH 10/17] drm/xe/oa: Add OAR support Ashutosh Dixit
2024-05-27 1:43 ` [PATCH 11/17] drm/xe/oa: Add OAC support Ashutosh Dixit
2024-05-27 1:43 ` [PATCH 12/17] drm/xe/oa/uapi: Query OA unit properties Ashutosh Dixit
2024-05-27 1:43 ` [PATCH 13/17] drm/xe/oa/uapi: OA buffer mmap Ashutosh Dixit
2024-05-27 1:43 ` [PATCH 14/17] drm/xe/oa: Add MMIO trigger support Ashutosh Dixit
2024-05-27 1:43 ` [PATCH 15/17] drm/xe/oa: Override GuC RC with OA on PVC Ashutosh Dixit
2024-05-27 1:43 ` [PATCH 16/17] drm/xe/oa: Changes to OA_TAKEN Ashutosh Dixit
2024-05-27 1:43 ` [PATCH 17/17] drm/xe/oa: Enable Xe2+ overrun mode Ashutosh Dixit
2024-05-27 1:49 ` ✓ CI.Patch_applied: success for Add OA functionality to Xe (rev15) Patchwork
2024-05-27 1:49 ` ✗ CI.checkpatch: warning " Patchwork
2024-05-27 1:50 ` ✓ CI.KUnit: success " Patchwork
2024-05-27 2:02 ` ✓ CI.Build: " Patchwork
2024-05-27 2:04 ` ✓ CI.Hooks: " Patchwork
2024-05-27 2:06 ` ✓ CI.checksparse: " Patchwork
2024-05-27 2:31 ` ✓ CI.BAT: " Patchwork
2024-05-27 14:20 ` ✗ CI.FULL: failure " Patchwork
2024-06-05 14:12 ` [PATCH v15 00/17] Add OA functionality to Xe Souza, Jose
2024-06-06 19:56 ` Dixit, Ashutosh
2024-06-06 20:54 ` Dixit, Ashutosh
2024-06-14 15:12 ` Dixit, Ashutosh
2024-06-17 19:36 ` Rodrigo Vivi
2024-06-17 21:05 ` Dixit, Ashutosh
2024-06-17 21:14 ` Souza, Jose
2024-06-17 21:31 ` Rodrigo Vivi
2024-06-18 19:54 ` Dixit, Ashutosh
-- strict thread matches above, loose matches on Subject: below --
2024-06-18 1:45 [PATCH v19 " Ashutosh Dixit
2024-06-18 1:45 ` [PATCH 03/17] drm/xe/oa/uapi: Add OA data formats Ashutosh Dixit
2024-06-17 22:36 [PATCH v18 00/17] Add OA functionality to Xe Ashutosh Dixit
2024-06-17 22:36 ` [PATCH 03/17] drm/xe/oa/uapi: Add OA data formats Ashutosh Dixit
2024-06-12 2:05 [PATCH v17 00/17] Add OA functionality to Xe Ashutosh Dixit
2024-06-12 2:05 ` [PATCH 03/17] drm/xe/oa/uapi: Add OA data formats Ashutosh Dixit
2024-06-07 20:43 [PATCH v16 00/17] Add OA functionality to Xe Ashutosh Dixit
2024-06-07 20:43 ` [PATCH 03/17] drm/xe/oa/uapi: Add OA data formats Ashutosh Dixit
2024-06-08 10:54 ` Michal Wajdeczko
2024-06-12 2:03 ` Dixit, Ashutosh
2024-06-13 15:39 ` Michal Wajdeczko
2024-06-17 19:32 ` Rodrigo Vivi
2024-05-24 19:01 [PATCH v14 00/17] Add OA functionality to Xe Ashutosh Dixit
2024-05-24 19:01 ` [PATCH 03/17] drm/xe/oa/uapi: Add OA data formats Ashutosh Dixit
2024-03-15 1:35 [PATCH 00/17] Add OA functionality to Xe Ashutosh Dixit
2024-03-15 1:35 ` [PATCH 03/17] drm/xe/oa/uapi: Add OA data formats Ashutosh Dixit
2024-03-12 3:38 [PATCH v12 00/17] Add OA functionality to Xe Ashutosh Dixit
2024-03-12 3:39 ` [PATCH 03/17] drm/xe/oa/uapi: Add OA data formats Ashutosh Dixit
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=87msnfqyyq.wl-ashutosh.dixit@intel.com \
--to=ashutosh.dixit@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=matthew.d.roper@intel.com \
/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;
as well as URLs for NNTP newsgroup(s).