[Mesa-dev] [PATCH] i965: Mark SNB GT1 as a GT1.

Ian Romanick idr at freedesktop.org
Fri Apr 4 13:59:42 PDT 2014


On 04/04/2014 12:17 PM, Matt Turner wrote:
> brw->gt only seems to be used on gen >= 7, so this shouldn't have any
> effect.

Based on a cursory skim of the code (with the aid of 'grep -r [^n]gt[^t]
src/mesa/drivers/dri/i965/'), that appears to be true.

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

> ---
>  src/mesa/drivers/dri/i965/brw_device_info.c | 2 +-
>  1 file changed, 1 insertion(+), 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 e4c110d..377c5ce 100644
> --- a/src/mesa/drivers/dri/i965/brw_device_info.c
> +++ b/src/mesa/drivers/dri/i965/brw_device_info.c
> @@ -68,7 +68,7 @@ static const struct brw_device_info brw_device_info_ilk = {
>  
>  static const struct brw_device_info brw_device_info_snb_gt1 = {
>     .gen = 6,
> -   .gt = 2,
> +   .gt = 1,
>     .has_hiz_and_separate_stencil = true,
>     .has_llc = true,
>     .has_pln = true,
> 



More information about the mesa-dev mailing list