[Mesa-dev] [PATCH 01/24] i965: Make feature macros gen8 based
Jason Ekstrand
jason at jlekstrand.net
Fri Jun 2 23:51:57 UTC 2017
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
On Fri, May 12, 2017 at 4:38 PM, Anuj Phogat <anuj.phogat at gmail.com> wrote:
> From: Ben Widawsky <benjamin.widawsky at intel.com>
>
> All the "features" of the hardware are similar starting with GEN8, so
> remove as
> much of the GEN9 uniqueness as possible. This makes implementing future gen
> platforms a bit easier.
>
> Signed-off-by: Ben Widawsky <benjamin.widawsky at intel.com>
> Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
> ---
> src/intel/common/gen_device_info.c | 13 +++++--------
> 1 file changed, 5 insertions(+), 8 deletions(-)
>
> diff --git a/src/intel/common/gen_device_info.c
> b/src/intel/common/gen_device_info.c
> index 209b293..47aed9d 100644
> --- a/src/intel/common/gen_device_info.c
> +++ b/src/intel/common/gen_device_info.c
> @@ -378,15 +378,8 @@ static const struct gen_device_info
> gen_device_info_chv = {
> }
> };
>
> -#define GEN9_FEATURES \
> +#define GEN9_HW_INFO \
> .gen = 9, \
> - .has_hiz_and_separate_stencil = true, \
> - .has_resource_streamer = true, \
> - .must_use_separate_stencil = true, \
> - .has_llc = true, \
> - .has_pln = true, \
> - .supports_simd16_3src = true, \
> - .has_surface_tile_offset = true, \
> .max_vs_threads = 336, \
> .max_gs_threads = 336, \
> .max_tcs_threads = 336, \
> @@ -454,6 +447,10 @@ static const struct gen_device_info
> gen_device_info_chv = {
> }, \
> }
>
> +#define GEN9_FEATURES \
> + GEN8_FEATURES, \
> + GEN9_HW_INFO
> +
> static const struct gen_device_info gen_device_info_skl_gt1 = {
> GEN9_FEATURES, .gt = 1,
> .num_slices = 1,
> --
> 2.9.3
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170602/b4caaf65/attachment-0001.html>
More information about the mesa-dev
mailing list