[Intel-gfx] [PATCH] drm/i915: Add I915_PARAM_REVISION

2015-03-04 Thread Neil Roberts
Adds a parameter which can be used with DRM_I915_GETPARAM to query the GPU revision. The intention is to use this in Mesa to implement the WaDisableSIMD16On3SrcInstr workaround on Skylake but only for revision 2. Signed-off-by: Neil Roberts --- The corresponding Mesa patches are here: http

Re: [Intel-gfx] [PATCH v2] drm/i915: Add the predicate source registers to the register whitelist

2015-01-09 Thread Neil Roberts
Hi, Daniel Vetter writes: > Ok, I've merged this one, since that means you at least won't get an > -EINVAL. But you can't yet enable the feature in mesa since it's still > no-opped out. Let's hope that v3 actually starts granting rights (but > please don't encode that in any merge mesa patch bef

[Intel-gfx] [PATCH v2] drm/i915: Add the predicate source registers to the register whitelist

2014-11-07 Thread Neil Roberts
MI_PREDICATE command. The command parser version number is increased to 2 to make it easier to detect the new functionality in user space. Signed-off-by: Neil Roberts --- Here is a v2 of the patch that also updates the command parser version to make it easier to detect whether we can use the

[Intel-gfx] [PATCH] drm/i915: Add the predicate source registers to the register whitelist

2014-11-07 Thread Neil Roberts
MI_PREDICATE command. Signed-off-by: Neil Roberts --- There is a corresponding patch for Mesa which is using these registers on the mailing list here: http://lists.freedesktop.org/archives/mesa-dev/2014-November/070347.html There are some other registers such as MI_PREDICATE_DATA which can be