From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: "José Roberto de Souza" <jose.souza@intel.com>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH libdrm 1/2] intel: Introducing Whiskey Lake platform
Date: Wed, 20 Jun 2018 16:29:48 -0700 [thread overview]
Message-ID: <20180620232948.GD8258@intel.com> (raw)
In-Reply-To: <20180619234521.20713-1-jose.souza@intel.com>
On Tue, Jun 19, 2018 at 04:45:20PM -0700, José Roberto de Souza wrote:
> Whiskey Lake uses the same gen graphics as Coffe Lake, including some
> ids that were previously marked as reserved on Coffe Lake, but that
> now are moved to WHL page.
>
> So, let's just move them to WHL macros that will feed into CFL macro
> just to keep it better organized to make easier future code review
> but it will be handled as a CFL.
>
> This is a copy of merged i915's
> commit b9be78531d27 ("drm/i915/whl: Introducing Whiskey Lake platform")
>
> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> ---
> intel/intel_chipset.h | 33 +++++++++++++++++----------------
> 1 file changed, 17 insertions(+), 16 deletions(-)
>
> diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
> index 32b2c48f..44e65f9e 100644
> --- a/intel/intel_chipset.h
> +++ b/intel/intel_chipset.h
> @@ -231,16 +231,17 @@
> #define PCI_CHIP_COFFEELAKE_S_GT2_4 0x3E9A
> #define PCI_CHIP_COFFEELAKE_H_GT2_1 0x3E9B
> #define PCI_CHIP_COFFEELAKE_H_GT2_2 0x3E94
> -#define PCI_CHIP_COFFEELAKE_U_GT1_1 0x3EA1
> -#define PCI_CHIP_COFFEELAKE_U_GT1_2 0x3EA4
> -#define PCI_CHIP_COFFEELAKE_U_GT2_1 0x3EA0
> -#define PCI_CHIP_COFFEELAKE_U_GT2_2 0x3EA3
> -#define PCI_CHIP_COFFEELAKE_U_GT2_3 0x3EA9
> -#define PCI_CHIP_COFFEELAKE_U_GT3_1 0x3EA2
> -#define PCI_CHIP_COFFEELAKE_U_GT3_2 0x3EA5
> -#define PCI_CHIP_COFFEELAKE_U_GT3_3 0x3EA6
> -#define PCI_CHIP_COFFEELAKE_U_GT3_4 0x3EA7
> -#define PCI_CHIP_COFFEELAKE_U_GT3_5 0x3EA8
> +#define PCI_CHIP_COFFEELAKE_U_GT2_1 0x3EA9
> +#define PCI_CHIP_COFFEELAKE_U_GT3_1 0x3EA5
> +#define PCI_CHIP_COFFEELAKE_U_GT3_2 0x3EA6
> +#define PCI_CHIP_COFFEELAKE_U_GT3_3 0x3EA7
> +#define PCI_CHIP_COFFEELAKE_U_GT3_4 0x3EA8
> +
> +#define PCI_CHIP_WHISKEYLAKE_U_GT1_1 0x3EA1
> +#define PCI_CHIP_WHISKEYLAKE_U_GT2_1 0x3EA0
> +#define PCI_CHIP_WHISKEYLAKE_U_GT3_1 0x3EA2
> +#define PCI_CHIP_WHISKEYLAKE_U_GT3_2 0x3EA3
> +#define PCI_CHIP_WHISKEYLAKE_U_GT3_3 0x3EA4
>
> #define PCI_CHIP_CANNONLAKE_0 0x5A51
> #define PCI_CHIP_CANNONLAKE_1 0x5A59
> @@ -510,16 +511,16 @@
> #define IS_CFL_H(devid) ((devid) == PCI_CHIP_COFFEELAKE_H_GT2_1 || \
> (devid) == PCI_CHIP_COFFEELAKE_H_GT2_2)
>
> -#define IS_CFL_U(devid) ((devid) == PCI_CHIP_COFFEELAKE_U_GT1_1 || \
> - (devid) == PCI_CHIP_COFFEELAKE_U_GT1_2 || \
> - (devid) == PCI_CHIP_COFFEELAKE_U_GT2_1 || \
> - (devid) == PCI_CHIP_COFFEELAKE_U_GT2_2 || \
> - (devid) == PCI_CHIP_COFFEELAKE_U_GT2_3 || \
> +#define IS_CFL_U(devid) ((devid) == PCI_CHIP_COFFEELAKE_U_GT2_1 || \
> (devid) == PCI_CHIP_COFFEELAKE_U_GT3_1 || \
> (devid) == PCI_CHIP_COFFEELAKE_U_GT3_2 || \
> (devid) == PCI_CHIP_COFFEELAKE_U_GT3_3 || \
> (devid) == PCI_CHIP_COFFEELAKE_U_GT3_4 || \
> - (devid) == PCI_CHIP_COFFEELAKE_U_GT3_5)
> + (devid) == PCI_CHIP_WHISKEYLAKE_U_GT1_1 || \
> + (devid) == PCI_CHIP_WHISKEYLAKE_U_GT2_1 || \
> + (devid) == PCI_CHIP_WHISKEYLAKE_U_GT3_1 || \
> + (devid) == PCI_CHIP_WHISKEYLAKE_U_GT3_2 || \
> + (devid) == PCI_CHIP_WHISKEYLAKE_U_GT3_3)
>
> #define IS_COFFEELAKE(devid) (IS_CFL_S(devid) || \
> IS_CFL_H(devid) || \
> --
> 2.17.1
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
prev parent reply other threads:[~2018-06-20 23:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-19 23:45 [PATCH libdrm 1/2] intel: Introducing Whiskey Lake platform José Roberto de Souza
2018-06-19 23:45 ` [PATCH libdrm 2/2] intel: Introducing Amber " José Roberto de Souza
2018-06-20 23:31 ` Rodrigo Vivi
2018-06-20 23:42 ` Rodrigo Vivi
2018-06-20 23:29 ` Rodrigo Vivi [this message]
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=20180620232948.GD8258@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=jose.souza@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.