<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">I've got no comments on this,</div>
    <div class="moz-cite-prefix">but it should be safe to push and find
      a better solution later.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Axel<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 30/05/2019 12:43, Axel Davy wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:2bcf69df-007f-2ece-6f3c-5cf1835a1e3d@gmail.com">
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      <p><br>
      </p>
      <div class="moz-forward-container">Thanks Juan for warning me it
        didn't make it to mesa-dev.</div>
      <div class="moz-forward-container">Here it is.</div>
      <div class="moz-forward-container"><br>
      </div>
      <div class="moz-forward-container"><br>
      </div>
      <div class="moz-forward-container">Axel</div>
      <div class="moz-forward-container"><br>
      </div>
      <div class="moz-forward-container">-------- Forwarded Message
        --------
        <table class="moz-email-headers-table" cellspacing="0"
          cellpadding="0" border="0">
          <tbody>
            <tr>
              <th valign="BASELINE" nowrap="nowrap" align="RIGHT">Subject:
              </th>
              <td>[PATCH] d3dadapter9: Revert to old throttling limit
                value</td>
            </tr>
            <tr>
              <th valign="BASELINE" nowrap="nowrap" align="RIGHT">Date:
              </th>
              <td>Sun, 26 May 2019 23:23:59 +0200</td>
            </tr>
            <tr>
              <th valign="BASELINE" nowrap="nowrap" align="RIGHT">From:
              </th>
              <td>Axel Davy <a class="moz-txt-link-rfc2396E"
                  href="mailto:davyaxel0@gmail.com"
                  moz-do-not-send="true"><davyaxel0@gmail.com></a></td>
            </tr>
            <tr>
              <th valign="BASELINE" nowrap="nowrap" align="RIGHT">CC: </th>
              <td>Axel Davy <a class="moz-txt-link-rfc2396E"
                  href="mailto:davyaxel0@gmail.com"
                  moz-do-not-send="true"><davyaxel0@gmail.com></a>,
                <a class="moz-txt-link-abbreviated"
                  href="mailto:mesa-stable@lists.freedesktop.org"
                  moz-do-not-send="true">mesa-stable@lists.freedesktop.org</a></td>
            </tr>
          </tbody>
        </table>
        <br>
        <br>
        Recently PIPE_CAP_MAX_FRAMES_IN_FLIGHT was changed from 2<br>
        to 1:<br>
        20909284f204091757c050aa40cfffaf3f981b9c<br>
        <br>
        No driver seems to overwrite the default value.<br>
        <br>
        One user reports severe regressions for some games.<br>
        For now, revert to the value 2 for nine.<br>
        <br>
        Cc: <a class="moz-txt-link-abbreviated"
          href="mailto:mesa-stable@lists.freedesktop.org"
          moz-do-not-send="true">mesa-stable@lists.freedesktop.org</a><br>
        <br>
        Signed-off-by: Axel Davy <a class="moz-txt-link-rfc2396E"
          href="mailto:davyaxel0@gmail.com" moz-do-not-send="true"><davyaxel0@gmail.com></a><br>
        ---<br>
        src/gallium/targets/d3dadapter9/drm.c | 6 ++++--<br>
        1 file changed, 4 insertions(+), 2 deletions(-)<br>
        <br>
        diff --git a/src/gallium/targets/d3dadapter9/drm.c
        b/src/gallium/targets/d3dadapter9/drm.c<br>
        index b0b9bb12f2c..657c619ac42 100644<br>
        --- a/src/gallium/targets/d3dadapter9/drm.c<br>
        +++ b/src/gallium/targets/d3dadapter9/drm.c<br>
        @@ -243,8 +243,10 @@ drm_create_adapter( int fd,<br>
        return D3DERR_DRIVERINTERNALERROR;<br>
        }<br>
        - ctx->base.throttling_value =<br>
        - ctx->base.hal->get_param(ctx->base.hal,
        PIPE_CAP_MAX_FRAMES_IN_FLIGHT);<br>
        + /* Previously was set to PIPE_CAP_MAX_FRAMES_IN_FLIGHT,<br>
        + * but the change of value of this cap to 1 seems to cause<br>
        + * regressions. */<br>
        + ctx->base.throttling_value = 2;<br>
        ctx->base.throttling = ctx->base.throttling_value > 0;<br>
        driParseOptionInfo(&defaultInitOptions,
        __driConfigOptionsNine);<br>
        <pre class="moz-signature">-- 
2.21.0

</pre>
      </div>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>