public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
To: Lucas De Marchi <lucas.demarchi@intel.com>,
	igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH 2/5] i915/gem_mocs_settings: do not set undefined entries to PTE
Date: Fri, 26 Jul 2019 13:49:28 -0700	[thread overview]
Message-ID: <ca157c90-292f-9a13-aeb2-a434b1b51e02@intel.com> (raw)
In-Reply-To: <20190725203354.6757-2-lucas.demarchi@intel.com>



On 7/25/19 1:33 PM, Lucas De Marchi wrote:
> In the Ice Lake table we are setting all undefined entries to PTE.
> With Tiger Lake this won't be true anymore. Even if for test in IGT we
> add a new table for Tiger Lake, in kernel they can be shares since they
> are supposedly compatible (only unused entries were added or became
> unused).
> 
> Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>

And we shouldn't be guaranteeing that unused entries are set to 
something sensible as part of the ABI.

Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>

Daniele

> ---
>   tests/i915/gem_mocs_settings.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/tests/i915/gem_mocs_settings.c b/tests/i915/gem_mocs_settings.c
> index 7b1718f4..9f4e1b6d 100644
> --- a/tests/i915/gem_mocs_settings.c
> +++ b/tests/i915/gem_mocs_settings.c
> @@ -101,7 +101,6 @@ static const struct mocs_entry icelake_mocs_table[GEN11_NUM_MOCS_ENTRIES] = {
>   	[21] = { 0x00000137, 0x0030, 0x1},
>   	[22] = { 0x000003b7, 0x0030, 0x1},
>   	[23] = { 0x000007b7, 0x0030, 0x1},
> -	[24 ... 61] = ICELAKE_MOCS_PTE,
>   	[62] = { 0x00000037, 0x0010, 0x1},
>   	[63] = { 0x00000037, 0x0010, 0x1},
>   };
> 
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  reply	other threads:[~2019-07-26 20:49 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-25 20:33 [igt-dev] [PATCH 1/5] i915/gem_mocs_settings: log the engine and MOCS index Lucas De Marchi
2019-07-25 20:33 ` [igt-dev] [PATCH 2/5] i915/gem_mocs_settings: do not set undefined entries to PTE Lucas De Marchi
2019-07-26 20:49   ` Daniele Ceraolo Spurio [this message]
2019-07-26 20:57     ` Chris Wilson
2019-07-25 20:33 ` [igt-dev] [PATCH 3/5] i915/gem_mocs_settings: add MOCS table for Tiger Lake Lucas De Marchi
2019-07-27  0:16   ` Daniele Ceraolo Spurio
2019-07-25 20:33 ` [igt-dev] [PATCH 4/5] i915/gem_mocs_settings: fix global MOCS on gen 11 Lucas De Marchi
2019-07-29 20:53   ` Kumar Valsan, Prathap
2019-07-25 20:33 ` [igt-dev] [PATCH 5/5] i915/gem_mocs_settings: add support for Tiger Lake Lucas De Marchi
2019-07-27  0:23   ` Daniele Ceraolo Spurio
2019-07-25 21:12 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [1/5] i915/gem_mocs_settings: log the engine and MOCS index Patchwork
2019-07-25 21:45 ` [igt-dev] [PATCH 1/5] " Lucas De Marchi
2019-07-26 12:39 ` [igt-dev] ✓ Fi.CI.IGT: success for series starting with [1/5] " Patchwork
2019-07-26 23:26   ` Daniele Ceraolo Spurio
2019-07-26 23:49     ` Lucas De Marchi
2019-07-26 23:54       ` Daniele Ceraolo Spurio
2019-07-27  0:04         ` Lucas De Marchi
2019-07-26 23:23 ` [igt-dev] [PATCH 1/5] " Daniele Ceraolo Spurio
2019-07-26 23:35   ` Lucas De Marchi

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=ca157c90-292f-9a13-aeb2-a434b1b51e02@intel.com \
    --to=daniele.ceraolospurio@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=lucas.demarchi@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