intel / KVMGT-kernel

Other
41 stars 20 forks source link

Some debug registers #8

Open Jaeyong-Yoo opened 9 years ago

Jaeyong-Yoo commented 9 years ago

While I'm having some fun on drm memory allocator in kvmGT, 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 see the general description of such registers in the following PDF. http://www.x.org/docs/intel/VOL_1_graphics_core.pdf

But, sadly, this document does not provide a field description for implementation specific registers. I appreciate if you point me to such information in Haswell architecture?

l1viathan commented 9 years ago

Hi Jaeyong, Intel releases its GPU PRM on 01.org. As for HSW, the manuals can be found at :

https://01.org/linuxgraphics/documentation/2013-intel-core-processor-family

Jaeyong-Yoo commented 9 years ago

Thanks for the answer. I searched in the "HSW - Volume 2c: Command Reference: Registers" one and I can not see INSTPS nor 2070. I think this PRM is not including all registers.

l1viathan commented 9 years ago

Unfortunately I didn't find it either.
Actually we use an internal version of GEN manuals, which is more detailed. By occasion there are things missing in the published ones. Sorry for that..