On Tue, Dec 29, 2015 at 10:14 AM, Ben Widawsky <benjamin.widaw...@intel.com> wrote: > 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.widaw...@intel.com> > --- > src/mesa/drivers/dri/i965/brw_device_info.c | 13 ++++++------- > 1 file changed, 6 insertions(+), 7 deletions(-) > > diff --git a/src/mesa/drivers/dri/i965/brw_device_info.c > b/src/mesa/drivers/dri/i965/brw_device_info.c > index 4bfc831..21494b7 100644 > --- a/src/mesa/drivers/dri/i965/brw_device_info.c > +++ b/src/mesa/drivers/dri/i965/brw_device_info.c > @@ -324,14 +324,8 @@ static const struct brw_device_info brw_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, \ > .max_vs_threads = 336, \ > .max_gs_threads = 336, \ > .max_hs_threads = 336, \ > @@ -348,6 +342,11 @@ static const struct brw_device_info brw_device_info_chv > = { > .max_gs_entries = 640, \ > } > > +#define GEN9_FEATURES \ > + GEN8_FEATURES, \ > + GEN9_HW_INFO > + > + > static const struct brw_device_info brw_device_info_skl_gt1 = { > GEN9_FEATURES, .gt = 1, > .num_slices = 1, > -- > 2.6.4 > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com> _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev