Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Dixit, Ashutosh" <ashutosh.dixit@intel.com>
To: Petri Latvala <petri.latvala@intel.com>
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t] lib/i915: Add i915_drm_local.h
Date: Thu, 29 Jul 2021 18:09:51 -0700	[thread overview]
Message-ID: <87pmv0eheo.wl-ashutosh.dixit@intel.com> (raw)
In-Reply-To: <YQJl7pgkajR8K01r@platvala-desk.ger.corp.intel.com>

On Thu, 29 Jul 2021 01:25:18 -0700, Petri Latvala wrote:
>
> On Tue, Jul 27, 2021 at 10:17:00PM -0700, Ashutosh Dixit wrote:
> > It is necessary on occasion to add uapi declarations to IGT before they
> > appear in imported kernel uapi headers. This is typically done at present
> > using LOCAL declarations (or #ifndef's) which are dispersed across multiple
> > source and header files. Such declarations sometimes linger on in the code
> > for months or years till someone thinks of cleaning them up.
> >
> > As opposed to this, provide a central location (in i915_drm_local.h) for
> > such early uapi declarations in IGT. These declarations will be added to
> > i915_drm_local.h exactly as they are expected to appear in the kernel uapi
> > headers, i.e. without the LOCAL_ or local_ prefix. They can be cleaned up
> > when the uapi headers are sync'd or they can live on (if they don't
> > conflict with the kernel headers) but at least they will be in a single
> > place and more visible. At least that is the hope.
> >
> > Cc: Petri Latvala <petri.latvala@intel.com>
> > Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
>
> Centralizing these should make cleanup easier and happen more
> often.
>
> Reviewed-by: Petri Latvala <petri.latvala@intel.com>

Thanks Petri, merged.
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

      reply	other threads:[~2021-07-30  1:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-28  5:17 [igt-dev] [PATCH i-g-t] lib/i915: Add i915_drm_local.h Ashutosh Dixit
2021-07-28  6:42 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2021-07-28  9:28 ` [igt-dev] ✗ GitLab.Pipeline: warning " Patchwork
2021-07-28 15:05 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2021-07-29  8:25 ` [igt-dev] [PATCH i-g-t] " Petri Latvala
2021-07-30  1:09   ` Dixit, Ashutosh [this message]

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=87pmv0eheo.wl-ashutosh.dixit@intel.com \
    --to=ashutosh.dixit@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=petri.latvala@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