<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">在 2020/6/10 15:41, Christian König 写道:<br>
    </div>
    <blockquote type="cite" cite="mid:b47f193a-9103-ca7b-85e6-c8a52a977da8@gmail.com">
      
      <div class="moz-cite-prefix">That's true, but for now we are stuck
        with the implicit sync for quite a number of use cases.<br>
        <br>
        My problem is rather that we already tried this and it backfired
        immediately.<br>
        <br>
        I do remember that it was your patch who introduced the pipeline
        sync flag handling and I warned that this could be problematic.
        You then came back with a QA result saying that this is indeed
        causing a huge performance drop in one test case and we need to
        do something else. Together we then came up with the different
        handling between implicit and explicit sync.<br>
      </div>
    </blockquote>
    <p>Isn't pipeline sync flag to fix some issue because of parralel
      execution between jobs in one pipeline?  I really don't have this
      memory in mind why that's realted to this, Or do you mean extra
      sync hides many other potential issues?</p>
    <p>Anyway, when I go through Vulkan WSI code, the synchronization
      isn't so smooth between OS window system. And when I saw Jason
      drives explicit sync through the whole Linux ecosystem like
      Android window system does, I feel that's really a good direction.</p>
    <p>-David<br>
    </p>
    <blockquote type="cite" cite="mid:b47f193a-9103-ca7b-85e6-c8a52a977da8@gmail.com">
      <div class="moz-cite-prefix"> <br>
        But I can't find that stupid mail thread any more. I knew that
        it was a couple of years ago when we started with the explicit
        sync for Vulkan.<br>
        <br>
        Christian.<br>
        <br>
        Am 10.06.20 um 08:29 schrieb Zhou, David(ChunMing):<br>
      </div>
      <blockquote type="cite" cite="mid:DM5PR12MB24405F71791676A64CB02D9EB4830@DM5PR12MB2440.namprd12.prod.outlook.com">
        <meta name="Generator" content="Microsoft Word 15 (filtered
          medium)">
        <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.msipheader4d0fcdd7, li.msipheader4d0fcdd7, div.msipheader4d0fcdd7
        {mso-style-name:msipheader4d0fcdd7;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle19
        {mso-style-type:personal-compose;
        font-family:"Arial",sans-serif;
        color:#0078D7;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
        <div class="WordSection1">
          <p class="msipheader4d0fcdd7" style="margin:0in;margin-bottom:.0001pt"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#0078D7">[AMD
              Official Use Only - Internal Distribution Only]</span><o:p></o:p></p>
          <p class="MsoNormal"><o:p> </o:p></p>
          <p class="MsoNormal">Not sue if this is right direction, I
            think usermode wants all synchronizations to be explicit.
            Implicit sync often confuses people who don’t know its
            history. I remember Jason from Intel  is driving explicit
            synchronization through the Linux ecosystem, which even
            removes implicit sync of shared buffer.<o:p></o:p></p>
          <p class="MsoNormal"><o:p> </o:p></p>
          <p class="MsoNormal">-David<o:p></o:p></p>
          <p class="MsoNormal"><o:p> </o:p></p>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b>From:</b> amd-gfx <a class="moz-txt-link-rfc2396E" href="mailto:amd-gfx-bounces@lists.freedesktop.org" moz-do-not-send="true"><amd-gfx-bounces@lists.freedesktop.org></a>
              <b>On Behalf Of </b>Marek Olšák<br>
              <b>Sent:</b> Tuesday, June 9, 2020 6:58 PM<br>
              <b>To:</b> amd-gfx mailing list <a class="moz-txt-link-rfc2396E" href="mailto:amd-gfx@lists.freedesktop.org" moz-do-not-send="true"><amd-gfx@lists.freedesktop.org></a><br>
              <b>Subject:</b> [PATCH] drm/amdgpu: remove distinction
              between explicit and implicit sync (v2)<o:p></o:p></p>
          </div>
          <p class="MsoNormal"><o:p> </o:p></p>
          <div>
            <div>
              <p class="MsoNormal">Hi,<o:p></o:p></p>
            </div>
            <div>
              <p class="MsoNormal"><o:p> </o:p></p>
            </div>
            <div>
              <p class="MsoNormal">This enables a full pipeline sync for
                implicit sync. It's Christian's patch with the driver
                version bumped. With this, user mode drivers don't have
                to wait for idle at the end of gfx IBs.<o:p></o:p></p>
            </div>
            <div>
              <p class="MsoNormal"><o:p> </o:p></p>
            </div>
            <div>
              <p class="MsoNormal">Any concerns?<o:p></o:p></p>
            </div>
            <div>
              <p class="MsoNormal"><o:p> </o:p></p>
            </div>
            <div>
              <p class="MsoNormal">Thanks,<o:p></o:p></p>
            </div>
            <div>
              <p class="MsoNormal">Marek<o:p></o:p></p>
            </div>
          </div>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <pre class="moz-quote-pre" wrap="">_______________________________________________
amd-gfx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:amd-gfx@lists.freedesktop.org" moz-do-not-send="true">amd-gfx@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=02%7C01%7CDavid1.Zhou%40amd.com%7C47e97eb8e3654708f7ff08d80d11bcf7%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637273717119277965&sdata=EFq2J33HIOiIS3bok2ZcIz%2FhE%2FVs9T0HPy0UFi92Nf4%3D&reserved=0" originalsrc="https://lists.freedesktop.org/mailman/listinfo/amd-gfx" shash="Wu5qQmsssmDlZ3rZ8IUyvRR2RfYafdPHoiCAOgS6xtMeQYWO2FSq6+sbfoOW7KsVB7/XQSBzwDxl44F98MSMJ1O+xswyjle0NkNaUYcRjfMubSYTw7VV0tGW2u/ZO2v+2wy5w6UBj0PpHnsTiO9ppxdUb6HlyqdJJAKZR12o0Fw=" moz-do-not-send="true">https://lists.freedesktop.org/mailman/listinfo/amd-gfx</a>
</pre>
      </blockquote>
      <br>
    </blockquote>
  </body>
</html>