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

Kenneth Graunke kenneth at whitecape.org
Sat Apr 5 10:12:25 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.

Yeah...IIRC, the only reason I really started caring about GT was for
Haswell GT3, which needs different URB programming.  Paul later added
some IVB:GT2 workarounds.  But there was never any need on SNB.

But of course we should set it correctly.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

> ---
>  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,
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140405/159bb06f/attachment.sig>


More information about the mesa-dev mailing list