Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Dixit, Ashutosh" <ashutosh.dixit@intel.com>
To: <priyanka.dandamudi@intel.com>
Cc: petri.latvala@intel.com, igt-dev@lists.freedesktop.org,
	krishnaiah.bommu@intel.com
Subject: Re: [igt-dev] [PATCH i-g-t 1/6] lib/i915/i915_drm_local : Add DRM_I915_QUERY_DISTANCE_INFO query
Date: Thu, 21 Apr 2022 09:41:56 -0700	[thread overview]
Message-ID: <87a6ce4cdn.wl-ashutosh.dixit@intel.com> (raw)
In-Reply-To: <YmGHgOGFd2Xp6VTM@mdroper-desk1.amr.corp.intel.com>

On Thu, 21 Apr 2022 09:34:08 -0700, Matt Roper wrote:
>
> On Thu, Apr 21, 2022 at 08:22:06PM +0530, priyanka.dandamudi@intel.com wrote:
> > From: Priyanka Dandamudi <priyanka.dandamudi@intel.com>
> >
> > Add distance info query to check if the memory region is reachable or
> > not. If memory region is reachable, it gives the distance from the
> > memory region to the (class, instance) engine given by the user.
> >
> > Cc: Arjun Melkaveri <arjun.melkaveri@intel.com>
> > Cc: Petri Latvala <petri.latvala@intel.com>
> > Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi@intel.com>
> > ---
> >  lib/i915/i915_drm_local.h | 23 +++++++++++++++++++++++
> >  1 file changed, 23 insertions(+)
> >
> > diff --git a/lib/i915/i915_drm_local.h b/lib/i915/i915_drm_local.h
> > index 9a2273c4..1d584020 100644
> > --- a/lib/i915/i915_drm_local.h
> > +++ b/lib/i915/i915_drm_local.h
> > @@ -23,6 +23,29 @@ extern "C" {
> >
> >  #define DRM_I915_QUERY_GEOMETRY_SUBSLICES      6
> >
> > +#define DRM_I915_QUERY_DISTANCE_INFO 5
>
> DRM_I915_QUERY_HWCONFIG_BLOB has already taken query ID 5 (and
> DRM_I915_QUERY_GEOMETRY_SUBSLICES has taken 6).  So the first available
> ID is 7.

Also, I think we cannot merge this in IGT till this is exposed by the
kernel since the kernel uapi has to be approved first. This patch is ok for
a "Test-with:" (if we are submitting a kernel patch) or IGT review but
otherwise it needs to wait for the kernel patch to be merged I
think. Thanks.

  reply	other threads:[~2022-04-21 16:41 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-21 14:52 [igt-dev] [PATCH i-g-t 0/6] Test for shared reset domain priyanka.dandamudi
2022-04-21 14:52 ` [igt-dev] [PATCH i-g-t 1/6] lib/i915/i915_drm_local : Add DRM_I915_QUERY_DISTANCE_INFO query priyanka.dandamudi
2022-04-21 16:34   ` Matt Roper
2022-04-21 16:41     ` Dixit, Ashutosh [this message]
2022-04-21 14:52 ` [igt-dev] [PATCH i-g-t 2/6] lib/igt_sysfs: Add helpers to iterate over GTs priyanka.dandamudi
2022-04-22  5:45   ` Dixit, Ashutosh
2022-04-22  5:58     ` Dixit, Ashutosh
2022-04-25 20:07     ` Umesh Nerlige Ramappa
2022-04-25 23:13       ` Dixit, Ashutosh
2022-04-21 14:52 ` [igt-dev] [PATCH i-g-t 3/6] lib/sysfs: helper for number of gts priyanka.dandamudi
2022-04-26  8:33   ` Kamil Konieczny
2022-04-26 15:33     ` Dandamudi, Priyanka
2022-04-26 16:02       ` Dandamudi, Priyanka
2022-04-21 14:52 ` [igt-dev] [PATCH i-g-t 4/6] lib/i915/gem_engine_topology: Add helper to list engines priyanka.dandamudi
2022-04-21 14:52 ` [igt-dev] [PATCH i-g-t 5/6] lib/intel_ctx: Create intel_ctx with physical engines in a single gt priyanka.dandamudi
2022-04-21 14:52 ` [igt-dev] [PATCH i-g-t 6/6] tests/gem_reset_stats: Test for shared reset domain priyanka.dandamudi
2022-04-21 21:14   ` Umesh Nerlige Ramappa
2022-04-21 16:15 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2022-04-21 21:26 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2022-04-22  5:06 ` [igt-dev] ✓ Fi.CI.IGT: success " Patchwork
2022-04-22  5:36 ` 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=87a6ce4cdn.wl-ashutosh.dixit@intel.com \
    --to=ashutosh.dixit@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=krishnaiah.bommu@intel.com \
    --cc=petri.latvala@intel.com \
    --cc=priyanka.dandamudi@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