<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Nayan,<br>
    <br>
    About the Prime, I think you have to do is to separate decoder
    render buffer and presentation back buffer,<br>
    and copy back and forth between them for presentation and update.
    You might refer to similar implement<br>
    in glx and egl from loader_dri3_helper.c by grep "is_different_gpu"<br>
    <br>
    <br>
    Regards,<br>
    Leo<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 09/01/2016 05:18 AM, Nayan Deshmukh
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAFd4ddzyBa6Dh3AMJiwMVj7=SB9hdGXE6Wtos_eNBzuhPjpOZg@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr">Thanks, Michel you saved a lot of my time. 
        <div><br>
        </div>
        <div>Christian, I will get in touch with Leo and get started on
          this task. </div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div>Nayan.</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Sep 1, 2016 at 2:08 PM,
          Christian König <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:christian.koenig@amd.com" target="_blank">christian.koenig@amd.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex"><span
              class="">Am 01.09.2016 um 05:28 schrieb Michel Dänzer:<br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                On 31/08/16 06:53 PM, Nayan Deshmukh wrote:<br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  Hi Christian,<br>
                  <br>
                  You missed a few things in the merge. I will send in
                  the updated patch.<br>
                  <br>
                  I looked at the code in vl_winsys.c and vl_winsys3.c
                  and also<br>
                  at the code in presentation.c where delayed rendering
                  is used. I was trying<br>
                  to compile using vl_dri3_screen_create() but its
                  giving me some error. I<br>
                  will look into the error tonight. My hardware has
                  PRIME configuration. So<br>
                  is my hardware suitable for it?<br>
                </blockquote>
                The code in vl_winsys_dri3.c doesn't support PRIME yet.
                Might not be too<br>
                hard to add though. Grep for "is_different_gpu". Leo
                might have done<br>
                some work on this, so coordinate with him before
                spending too much<br>
                effort on this.<br>
                <br>
              </blockquote>
            </span>
            Thanks for the note, I assumed Leo already implemented that,
            but wasn't 100% sure.<br>
            <br>
            Nayan since you are one of the few contributors with a prime
            configuration I think it would make sense for you to hack on
            this first.<br>
            <br>
            Would also help getting you into the code and a bit more
            into the stack in general.<br>
            <br>
            Regards,<br>
            Christian.<br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
mesa-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>