Re: [Mesa-dev] [PATCH v2 4/4] i965: add a kernel_features bitfield to intel screen

2017-01-04 Thread Iago Toral
On Wed, 2017-01-04 at 15:35 -0800, Kenneth Graunke wrote: > On Wednesday, January 4, 2017 1:26:23 PM PST Iago Toral Quiroga > wrote: > > > > We can use this to track various features that may or may not be > > supported > > by the hw / kernel. Currently, we usually do this by checking the > > gene

Re: [Mesa-dev] [PATCH v2 4/4] i965: add a kernel_features bitfield to intel screen

2017-01-04 Thread Kenneth Graunke
On Wednesday, January 4, 2017 1:26:23 PM PST Iago Toral Quiroga wrote: > We can use this to track various features that may or may not be supported > by the hw / kernel. Currently, we usually do this by checking the generation > and supported command parser versions in various places thoughtout the

[Mesa-dev] [PATCH v2 4/4] i965: add a kernel_features bitfield to intel screen

2017-01-04 Thread Iago Toral Quiroga
We can use this to track various features that may or may not be supported by the hw / kernel. Currently, we usually do this by checking the generation and supported command parser versions in various places thoughtout the driver code. With this patch, we centralize all these checks in just once pl