[Mesa-dev] [PATCH] i965/bxt: Don't use brw_device_info_skl_early on BXT
Kenneth Graunke
kenneth at whitecape.org
Wed Jul 29 14:55:05 PDT 2015
On Wednesday, July 29, 2015 05:51:46 PM Neil Roberts wrote:
> Previously it could end up using the “SKL early” device on BXT
> depending on the revision number. This would probably break things
> because for example has_llc would be wrong.
> ---
> src/mesa/drivers/dri/i965/brw_device_info.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_device_info.c b/src/mesa/drivers/dri/i965/brw_device_info.c
> index 1efe546..ed2e290 100644
> --- a/src/mesa/drivers/dri/i965/brw_device_info.c
> +++ b/src/mesa/drivers/dri/i965/brw_device_info.c
> @@ -365,7 +365,9 @@ brw_get_device_info(int devid, int revision)
> return NULL;
> }
>
> - if (devinfo->gen == 9 && (revision == 2 || revision == 3 || revision == -1))
> + if (devinfo->gen == 9 &&
> + !devinfo->is_broxton &&
> + (revision == 2 || revision == 3 || revision == -1))
> return &brw_device_info_skl_early;
>
> return devinfo;
>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150729/f2488a4b/attachment-0001.sig>
More information about the mesa-dev
mailing list