[Intel-gfx] Debugging registers (INSTPS, CSCMDOP, CSCMDVLD, ...)

2015-01-14 Thread Jaeyong Yoo
Hello Daniel and other maintainers, While I'm working on drm memory allocator with myself, I've encountered render ring hang. And I am noticed that I can diagnose the command streamer's status with the following registers: INSTPS: 0x2070 CSCMDOP: 0x220c CSCMDVLD: 0x2210 INSTDONE_1: 206C I can

[Intel-gfx] What happens if forcewake is not properly set

2015-01-08 Thread Jaeyong Yoo
Hello Daniel and the other maintainers, I'm having some weird trouble while working on my small project. For some reason, there is a chance that forcewake is not properly set, when I'm reading some registers. In that case, when values from registers (e.g., ring head, xxIMRs, .) are sometimes 0 (

Re: [Intel-gfx] Question regarding forcewake in i915

2015-01-07 Thread Jaeyong Yoo
Thanks a lot. It is very helpful. Couple of follow-up questions below. > -Original Message- > From: Dave Gordon [mailto:david.s.gor...@intel.com] > Sent: Wednesday, January 07, 2015 12:19 AM > To: jaeyong@samsung.com > Cc: intel-gfx@lists.freedesktop.org > Subject: Re: [Intel-gfx] Ques