From: Ben Widawsky Date: Fri, 7 Aug 2015 20:58:37 +0000 (-0700) Subject: i965/skl: Remove early platform support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=28ed1e08e8ba98ebd4ff0b56326372f0df9c73ad;p=mesa.git i965/skl: Remove early platform support We do not want bug reports from this early stepping of SKL. Few if any were ever shipped outside of Intel to early enabling partners, and none will be sold. There is a functional change here. If you're using new mesa on an old kernel/libdrm, the revid will be -1, and we'll use new SKL values instead of early ones (a hopefully irrelevant improvement IMO). v2: Remove hunk which warned before dying. Instead, default to normal SKL support (Ken) Signed-off-by: Ben Widawsky Reviewed-by: Kenneth Graunke Reviewed-by: Neil Roberts --- diff --git a/src/mesa/drivers/dri/i965/brw_device_info.c b/src/mesa/drivers/dri/i965/brw_device_info.c index be517e826c4..7ad3a2fb7b4 100644 --- a/src/mesa/drivers/dri/i965/brw_device_info.c +++ b/src/mesa/drivers/dri/i965/brw_device_info.c @@ -322,11 +322,6 @@ static const struct brw_device_info brw_device_info_chv = { .max_gs_entries = 640, \ } -static const struct brw_device_info brw_device_info_skl_early = { - GEN9_FEATURES, .gt = 1, - .supports_simd16_3src = false, -}; - static const struct brw_device_info brw_device_info_skl_gt1 = { GEN9_FEATURES, .gt = 1, }; @@ -376,10 +371,5 @@ brw_get_device_info(int devid, int revision) return NULL; } - if (devinfo->gen == 9 && - !devinfo->is_broxton && - (revision == 2 || revision == 3 || revision == -1)) - return &brw_device_info_skl_early; - return devinfo; }