All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rodrigo Vivi <rodrigo.vivi@gmail.com>
To: Chris Wilson <chris@chris-wilson.co.uk>,
	Rodrigo Vivi <rodrigo.vivi@intel.com>,
	intel-gfx <intel-gfx@lists.freedesktop.org>,
	Jani Nikula <jani.nikula@intel.com>
Subject: Re: [PATCH] drm/i915/kbl: Introduce Kabylake platform defition.
Date: Wed, 28 Oct 2015 12:44:30 -0700	[thread overview]
Message-ID: <CABVU7+tfYVHzdZcBTzEYnvmnKx95aOJsuoPBAE6kaGB+X6z9LA@mail.gmail.com> (raw)
In-Reply-To: <20151028193154.GN21481@nuc-i3427.alporthouse.com>

On Wed, Oct 28, 2015 at 12:31 PM, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> On Wed, Oct 28, 2015 at 04:16:45AM -0700, Rodrigo Vivi wrote:
>
>> +static const struct intel_device_info intel_kabylake_info = {
>> +     .is_preliminary = 1,
>> +     .is_kabylake = 1,
>> +     .gen = 9,
>> +     .num_pipes = 3,
>> +     .need_gfx_hws = 1, .has_hotplug = 1,
>> +     .ring_mask = RENDER_RING | BSD_RING | BLT_RING | VEBOX_RING,
>> +     .has_llc = 1,
>> +     .has_ddi = 1,
>> +     .has_fpga_dbg = 1,
>> +     .has_fbc = 1,
>> +     GEN_DEFAULT_PIPEOFFSETS,
>> +     IVB_CURSOR_OFFSETS,
>> +};
>> +
>> +static const struct intel_device_info intel_kabylake_gt3_info = {
>> +     .is_preliminary = 1,
>> +     .is_kabylake = 1,
>> +     .gen = 9,
>> +     .num_pipes = 3,
>> +     .need_gfx_hws = 1, .has_hotplug = 1,
>> +     .ring_mask = RENDER_RING | BSD_RING | BLT_RING | VEBOX_RING | BSD2_RING,
>> +     .has_llc = 1,
>> +     .has_ddi = 1,
>> +     .has_fpga_dbg = 1,
>> +     .has_fbc = 1,
>> +     GEN_DEFAULT_PIPEOFFSETS,
>> +     IVB_CURSOR_OFFSETS,
>> +};
>
> Let's play spot the difference. Or you could share the base kabylake
> definitions as a macro and override the different fields.

yeap, just following the style it was already there...

there are other things here that I don't like as well like has_fbc=1 here and
 HAS_<other_features> as defines...
I believe we need a re-org on the platform definitions...

to be done in a follow-up series...

> -Chris
>
> --
> Chris Wilson, Intel Open Source Technology Centre
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx



-- 
Rodrigo Vivi
Blog: http://blog.vivi.eng.br
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2015-10-28 19:44 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-27 17:14 [PATCH 0/6] Kabylake patches V2 Rodrigo Vivi
2015-10-27 17:14 ` [PATCH 1/6] drm/i915: Define IS_BROXTON properly Rodrigo Vivi
2015-10-28  9:27   ` Jani Nikula
2015-10-27 17:14 ` [PATCH 2/6] drm/i915/kbl: Introduce Kabylake platform defition Rodrigo Vivi
2015-10-28 11:39   ` Jani Nikula
2015-10-28 11:16     ` [PATCH] " Rodrigo Vivi
2015-10-28 19:18       ` Jani Nikula
2015-10-28 19:31       ` Chris Wilson
2015-10-28 19:44         ` Rodrigo Vivi [this message]
2015-10-28 20:01           ` Chris Wilson
2015-10-27 17:14 ` [PATCH 3/6] drm/i915/kbl: Add Kabylake PCI ID Rodrigo Vivi
2015-10-28 19:19   ` [PATCH] " Rodrigo Vivi
2015-10-27 17:14 ` [PATCH 4/6] drm/i915/kbl: Add Kabylake GT4 " Rodrigo Vivi
2015-10-28 19:21   ` [PATCH] " Rodrigo Vivi
2015-10-28 19:49     ` Jani Nikula
2015-10-27 17:14 ` [PATCH 5/6] drm/i915/kbl: Use propper ddi buffer translation table for Kabylake ULT and ULX Rodrigo Vivi
2015-11-06 20:26   ` Paulo Zanoni
2015-10-27 17:14 ` [PATCH 6/6] drm/i915/kbl: Fix DMC load on Kabylake Rodrigo Vivi
2015-10-29 17:20   ` [PATCH] " Rodrigo Vivi
2015-10-29 17:58     ` kbuild test robot
2015-10-29 18:05     ` kbuild test robot
2015-10-29 17:22 ` [PATCH 1/2] drm/i915/kbl: drm/i915: Avoid GuC loading for now " Rodrigo Vivi
2015-10-29 17:22   ` [PATCH 2/2] drm/i915/kbl: Kabylake uses the same GMS values as Skylake Rodrigo Vivi
2015-10-29 17:53     ` kbuild test robot
2015-11-04 23:35     ` Rodrigo Vivi
2015-11-05 13:17       ` Jani Nikula
2015-10-29 20:02   ` [PATCH 1/2] drm/i915/kbl: drm/i915: Avoid GuC loading for now on Kabylake kbuild test robot
2015-11-06 19:08   ` Yu Dai

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=CABVU7+tfYVHzdZcBTzEYnvmnKx95aOJsuoPBAE6kaGB+X6z9LA@mail.gmail.com \
    --to=rodrigo.vivi@gmail.com \
    --cc=chris@chris-wilson.co.uk \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@intel.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 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.