From: Paulo Zanoni <paulo.r.zanoni@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Javier Villavicencio <javier.villavicencio@intel.com>
Subject: Re: [igt-dev] [PATCH igt 3/3] lib/instdone.c: Add Gen11 Support
Date: Tue, 01 May 2018 13:49:49 -0700 [thread overview]
Message-ID: <1525207789.2704.9.camel@intel.com> (raw)
In-Reply-To: <20180427200123.22903-3-paulo.r.zanoni@intel.com>
Em Sex, 2018-04-27 às 13:01 -0700, Paulo Zanoni escreveu:
> From: Javier Villavicencio <javier.villavicencio@intel.com>
>
> Bspec: 11431
I'm not an expert in this area, but the bits seem to match the spec,
so:
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
>
> Signed-off-by: Javier Villavicencio <javier.villavicencio@intel.com>
> ---
> lib/instdone.c | 12 +++++++++++-
> 1 file changed, 11 insertions(+), 1 deletion(-)
>
> diff --git a/lib/instdone.c b/lib/instdone.c
> index 510fce64..a83f8836 100644
> --- a/lib/instdone.c
> +++ b/lib/instdone.c
> @@ -417,10 +417,20 @@ init_gen8_instdone(void)
> init_gen75_instdone();
> }
>
> +static void
> +init_gen11_instdone(void)
> +{
> + gen6_instdone1_bit(1 << 24, "TSG1");
> + gen6_instdone1_bit(1 << 11, "TDG1");
> + init_gen8_instdone();
> +}
> +
> bool
> init_instdone_definitions(uint32_t devid)
> {
> - if (IS_GEN8(devid) || IS_GEN9(devid) || IS_GEN10(devid)) {
> + if (IS_GEN11(devid)) {
> + init_gen11_instdone();
> + } else if (IS_GEN8(devid) || IS_GEN9(devid) ||
> IS_GEN10(devid)) {
> init_gen8_instdone();
> } else if (IS_GEN7(devid)) {
> init_gen7_instdone();
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next prev parent reply other threads:[~2018-05-01 20:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-27 20:01 [igt-dev] [PATCH igt 1/3] lib: sync with the newer i915_pciids.h from the Kernel (KBL + ICL) Paulo Zanoni
2018-04-27 20:01 ` [igt-dev] [PATCH igt 2/3] lib: Add Icelake platform definition Paulo Zanoni
2018-04-27 20:37 ` Antonio Argenziano
2018-04-27 20:01 ` [igt-dev] [PATCH igt 3/3] lib/instdone.c: Add Gen11 Support Paulo Zanoni
2018-04-27 20:38 ` Antonio Argenziano
2018-05-01 20:49 ` Paulo Zanoni [this message]
2018-04-27 23:59 ` [igt-dev] [PATCH igt 1/3] lib: sync with the newer i915_pciids.h from the Kernel (KBL + ICL) Souza, Jose
2018-05-01 20:55 ` Paulo Zanoni
2018-04-30 13:02 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [1/3] " Patchwork
2018-04-30 16:54 ` [igt-dev] ✓ 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=1525207789.2704.9.camel@intel.com \
--to=paulo.r.zanoni@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=javier.villavicencio@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.