<div class="gmail_quote">On Mon, Jan 2, 2012 at 17:37, Eric Anholt <span dir="ltr"><<a href="mailto:eric@anholt.net">eric@anholt.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
- if (intel->gen == 6 || (intel->gen == 7 && override_version >= 30))<br>
+ if (intel->gen == 6 ||<br>
+ (intel->gen == 7 && intel->intelScreen->kernel_has_gen7_sol_reset))<br>
ctx->Extensions.EXT_transform_feedback = true;<br></blockquote><div><br>If the kernel patch in previous series would return<br>...<br> value = IS_GEN7(dev);<br>...<br><br>the line above could be simplified to:<br>
if (intel->gen == 6 || intel->intelScreen->kernel_has_gen7_sol_reset)<br><br>But on the other hand, it would work either way. The check for GEN7 in kernel looks cleaner and more logically correct to me, but in any case:<br>
Reviewed-by: Eugeni Dodonov <<a href="mailto:eugeni.dodonov@intel.com">eugeni.dodonov@intel.com</a>><br clear="all"></div></div><br>-- <br>Eugeni Dodonov<a href="http://eugeni.dodonov.net/" target="_blank"><br></a><br>