Re: [Mesa-dev] [PATCH 1/2] i965: Store the GPU revision number in brw_context

2015-03-04 Thread Kristian Høgsberg
On Wed, Mar 4, 2015 at 6:32 AM, Neil Roberts wrote: > brwContextInit now queries the GPU revision number via a new parameter > for DRM_I915_GETPARAM. This new parameter requires a kernel patch and > a patch to libdrm. If the kernel doesn't support it then it will > continue but set the revision nu

[Mesa-dev] [PATCH 1/2] i965: Store the GPU revision number in brw_context

2015-03-04 Thread Neil Roberts
brwContextInit now queries the GPU revision number via a new parameter for DRM_I915_GETPARAM. This new parameter requires a kernel patch and a patch to libdrm. If the kernel doesn't support it then it will continue but set the revision number to -1. The intention is to use this to implement workaro