<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - GPU hang occurs when encoding.the platform is haswelll"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104747#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - GPU hang occurs when encoding.the platform is haswelll"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104747">bug 104747</a>
              from <span class="vcard"><a class="email" href="mailto:zhoubo10@hikvision.com" title="zhoubo <zhoubo10@hikvision.com>"> <span class="fn">zhoubo</span></a>
</span></b>
        <pre>(In reply to Elizabeth from <a href="show_bug.cgi?id=104747#c1">comment #1</a>)
<span class="quote">> Hello Zhoubo. If reproducible, could you try a more recent kernel
> <a href="https://www.kernel.org">https://www.kernel.org</a>? Thanks.</span >

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 ?</pre>
        </div>
      </p>


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

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