From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Jani Nikula <jani.nikula@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>,
intel-gfx@lists.freedesktop.org, vetter@freedesktop.org
Subject: Re: [PATCH v2 1/2] drm/i915/dsi: rename the current DSI files based on generation
Date: Wed, 4 Jul 2018 14:09:28 +0300 [thread overview]
Message-ID: <20180704110928.GR5565@intel.com> (raw)
In-Reply-To: <877embqv4x.fsf@intel.com>
On Wed, Jul 04, 2018 at 11:10:06AM +0300, Jani Nikula wrote:
> On Tue, 03 Jul 2018, Ville Syrjälä <ville.syrjala@linux.intel.com> wrote:
> > On Tue, Jul 03, 2018 at 04:53:28PM +0300, Jani Nikula wrote:
> >> Starting from ICL or gen 11 we have a new DSI block which requires
> >> completely different programming from the current implementation. Having
> >> them in the same file would be confusing. Rename the current DSI and DSI
> >> PLL implementation files as gen7_dsi.c and gen7_dsi_pll.c.
> >
> > gen7 is a rather odd name for this. vlv would seem more
> > appropriate, though not particularly good either.
>
> Daniel and Chris suggested a gen based name, and specifically to name
> both the old and new with a prefix.
gen based names rarely make sense when it comes to the display. If
there's a display thing with a gen7 name I immediately think "oh
that's ivb, maybe also hsw", but never in a million years would
I think of vlv.
Also the gen naming for display has getting even more confusing
since glk display pipes were pulled in from cnl. So if you read the
spec and see a "gen10 display" note it generally applies to glk as
well, even though for us glk is gen9.
So I think the generally best bet is to never use a genX label on
any display code.
> I guess I would've gone with
> "legacy" or "byt". Madhav has gone for gen11 prefixed function naming in
> the new series.
"byt" I would not use because everything else is named "vlv". So
I guess "vlv" is what I would suggest here. Or that earlier
"legacy" idea.
--
Ville Syrjälä
Intel
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2018-07-04 11:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-03 13:53 [PATCH v2 1/2] drm/i915/dsi: rename the current DSI files based on generation Jani Nikula
2018-07-03 13:53 ` [PATCH v2 2/2] drm/i915/dsi: use gen7 prefix for the global DSI functions Jani Nikula
2018-07-05 7:57 ` Chauhan, Madhav
2018-07-05 10:01 ` Jani Nikula
2018-07-05 10:06 ` Chauhan, Madhav
2018-07-03 14:12 ` [PATCH v2 1/2] drm/i915/dsi: rename the current DSI files based on generation Chauhan, Madhav
2018-07-03 14:20 ` Ville Syrjälä
2018-07-04 8:10 ` Jani Nikula
2018-07-04 11:09 ` Ville Syrjälä [this message]
2018-07-03 15:03 ` ✗ Fi.CI.CHECKPATCH: warning for series starting with [v2,1/2] " Patchwork
2018-07-03 15:04 ` ✗ Fi.CI.SPARSE: " Patchwork
2018-07-03 15:16 ` ✓ Fi.CI.BAT: success " Patchwork
2018-07-04 1: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=20180704110928.GR5565@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=daniel.vetter@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=vetter@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.