From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
To: Rodrigo Vivi <rodrigo.vivi@gmail.com>,
Jani Nikula <jani.nikula@linux.intel.com>,
Chris Wilson <chris@chris-wilson.co.uk>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>,
intel-gfx <intel-gfx@lists.freedesktop.org>,
Hans de Goede <hdegoede@redhat.com>,
Rodrigo Vivi <rodrigo.vivi@intel.com>,
Daniel Vetter <daniel.vetter@intel.com>, Lyude <cpaul@redhat.com>
Subject: Re: [PATCH] drm/i915: Avoid using dev_priv->info.gen directly.
Date: Fri, 29 Sep 2017 12:05:38 +0300 [thread overview]
Message-ID: <1506675938.4729.30.camel@linux.intel.com> (raw)
In-Reply-To: <CABVU7+sdJprpiOeA4-ZnWmRvuSkFG7=SU+yKn=wDUD6e0cka1Q@mail.gmail.com>
On Wed, 2017-09-27 at 12:32 -0700, Rodrigo Vivi wrote:
> On Wed, Sep 27, 2017 at 12:03 AM, Jani Nikula
> <jani.nikula@linux.intel.com> wrote:
> > On Tue, 26 Sep 2017, Rodrigo Vivi <rodrigo.vivi@intel.com> wrote:
> > > On Tue, Sep 26, 2017 at 09:21:43PM +0000, Paulo Zanoni wrote:
> > > > Em Ter, 2017-09-26 às 14:13 -0700, Rodrigo Vivi escreveu:
> > > > > Let's stop this usage before it spreads so much.
> > > > >
> > > > > 1. This check is not part of usual searches happening when adding
> > > > > new platform.
> > > > > 2. There is already a duplication here with INTEL_INFO(dev_priv)->gen
> > > > > and INTEL_GEN(dev_priv).
> > > > >
> > > > > So let's please avoid yet another way.
> > > > >
> > > > > Fixes: b22ca995ba1c ("drm/i915: prepare pipe for YCBCR420 output")
> > > > > Fixes: 27082493e9c6 ("drm/i915/skl: Update DDB values atomically with
> > > > > wms/plane attrs")
> > > >
> > > > Not sure if the Fixes tags are appropriate since this is not a bug fix.
> > >
> > > I wondered that... but since "dim fixes" provided me that tag along with the
> > > list of people I should cc I decided to include here. I thought it
> > > wouldn't hurt and also maybe good to propagate that to everywhere possible so
> > > we don't recieve more code based on that usage.
> > >
> > > But I won't merge today to give time to get Jani's view on that.
> >
> > Please only use Fixes: for functional fixes that need to be
> > backported. Like, nobody's going to be happier running a kernel they
> > know uses INTEL_GEN() consistently.
>
> Makes sense.
> Merged to dinq without the "Fixes:" tags.
> Thanks for all comments and reviews.
We discussed this with Chris too, I ended up suggesting there could be
something along; "Backport: none" or "Backport: v4.0+", instead of the
horrible #v4.0 that is causing pain every now and then, by getting
mixed to the To: fields in a wrong way.
Any thoughts on that?
Fixes: is an interesting metric in other sense too, or then just decide
to use X-Fixes: when we don't want it to end up backported.
Regards, Joonas
--
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2017-09-29 9:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-26 21:13 [PATCH] drm/i915: Avoid using dev_priv->info.gen directly Rodrigo Vivi
2017-09-26 21:21 ` Paulo Zanoni
2017-09-26 21:47 ` Rodrigo Vivi
2017-09-27 7:03 ` Jani Nikula
2017-09-27 19:32 ` Rodrigo Vivi
2017-09-29 9:05 ` Joonas Lahtinen [this message]
2017-10-02 8:33 ` Jani Nikula
2017-09-26 21:27 ` Matt Roper
2017-09-26 21:35 ` ✓ Fi.CI.BAT: success for " Patchwork
2017-09-27 8:07 ` ✓ Fi.CI.IGT: " 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=1506675938.4729.30.camel@linux.intel.com \
--to=joonas.lahtinen@linux.intel.com \
--cc=chris@chris-wilson.co.uk \
--cc=cpaul@redhat.com \
--cc=daniel.vetter@intel.com \
--cc=hdegoede@redhat.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@linux.intel.com \
--cc=paulo.r.zanoni@intel.com \
--cc=rodrigo.vivi@gmail.com \
--cc=rodrigo.vivi@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