[Bug 104747] GPU hang occurs when encoding.the platform is haswelll

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 24 02:11:19 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=104747

--- Comment #3 from zhoubo <zhoubo10 at hikvision.com> ---
(In reply to Elizabeth from comment #1)
> Hello Zhoubo. If reproducible, could you try a more recent kernel
> https://www.kernel.org? 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 ?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20180124/eee43d72/attachment-0001.html>


More information about the intel-gfx-bugs mailing list