<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - GPU hang occurs when running multi-encoders(h264) on haswell platform"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104748#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - GPU hang occurs when running multi-encoders(h264) on haswell platform"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104748">bug 104748</a>
              from <span class="vcard"><a class="email" href="mailto:elizabethx.de.la.torre.mena@intel.com" title="Elizabeth <elizabethx.de.la.torre.mena@intel.com>"> <span class="fn">Elizabeth</span></a>
</span></b>
        <pre>(In reply to Elizabeth from <a href="show_bug.cgi?id=104748#c5">comment #5</a>)
<span class="quote">> *** <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - GPU hang occurs when encoding.the platform is haswelll"
   href="show_bug.cgi?id=104747">Bug 104747</a> has been marked as a duplicate of this bug. ***</span >

(In reply to zhoubo from <a href="show_bug.cgi?id=104748#c3">comment #3</a>)
<span class="quote">> (In reply to Elizabeth from <a href="show_bug.cgi?id=104748#c1">comment #1</a>)
> > Hello Zhoubo. If reproducible, could you try a more recent kernel
> > <a href="https://www.kernel.org">https://www.kernel.org</a>? Thanks.

> I find the reason cause gpu hang may be encode rate control mode.
> First I choose VBR mode, gpu hang occurs in most 10 mins.
> Then I choose CBR mode, gpu hang doesn't occur again.
> I find some difference in i965 driver, but I don't confirm which one is the
> bug.

>   START: 0x00312000
>   HEAD:  0x02006e30
>   TAIL:  0x00008848
>   CTL:   0x0001f001
>   HWS:   0x00311000
>   ACTHD: 0x00000000 6a934b44
>   IPEIR: 0x00000000
>   IPEHR: 0x71000007
>   INSTDONE: 0xffdcffff
>   BBADDR: 0x00000000 6a934b45
>   BB_STATE: 0x00000120
>   INSTPS: 0x80000208
>   INSTPM: 0x00006080
>   FADDR: 0x00000000 6a934d00

> according to the gpu hang info, I found "IPEHR: 0x71000007" means the gpu
> was hang at this address. And I found the param might be error in function 
>  "gen75_mfc_batchbuffer_emit_object_command" or
> "gen75_vme_fill_vme_batchbuffer" because of "*command_ptr++ =
> (CMD_MEDIA_OBJECT | (9 - 2))".

> So I think the reason may be some param different in CRB and VBR, and it
> lead to different in  cmd "CMD_MEDIA_OBJECT", finally gpu hang occured.
> Is this right?
> If it's right ,could you help me find which is the bug ?</span >

Hello Zhoubo, I believe both bugs have the same root cause, that's why I marked
them as duplicated. According to your logs, your using a 4.8 kernel while
actual   stable release is 4.14+, so issue could be already fixed by any recent
commit. Could you please try 4.14+ or drm-tip kernels. Also you may want to
visit <a href="https://01.org/linuxgraphics/community">https://01.org/linuxgraphics/community</a> and give a try do the
dev-community in irc to consult about you issue.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>