How to read Command Reference Instructions from Intel PRM
Posted: Thu Jan 03, 2019 5:11 am
Hey all, I am trying to program the integrated graphics on my Intel Chip, which is of the Skylake series. If any of you have a skylake processor then I have saved you a good amount of time because I was not able to find a Programmer's Reference Manual on any official intel site. I found the below manual on 01.org after spending a good amount of time digging around google.
https://01.org/linuxgraphics/documentat ... e-platform
As you can see, there are about 21 seperate volumes, and my questions lies in intel-gfx-prm-osrc-skl-vol02a-commandreference-instructions.pdf. I'm not entirely sure what to do with the information given, but after more research I have 2 theories. For example I will use the 3DSTATE_WM_HZ_OP instruction [image 1]. So my first theory:
Given the information I assumed that Intel has given enough information for one to program the integrated graphics by directly writing the binary instruction (or to write an assembler). However after mroe digging around I found the following [image 2] on Intel's github (https://github.com/intel/external-mesa/ ... _defines.h) which led me to my second theory.
My second theory is a user would be able to use the given instruction by utilizing Intel's mesa library (I'm assuming its precompiled and the #define statement points to the address in memory were the function resides).
However I'm not entirely to sure, and after googling a variety of the instructions I figured I post on here, go to bed, and wake up to hopefully someone answering my question.
Thanks,
bigboyav
https://01.org/linuxgraphics/documentat ... e-platform
As you can see, there are about 21 seperate volumes, and my questions lies in intel-gfx-prm-osrc-skl-vol02a-commandreference-instructions.pdf. I'm not entirely sure what to do with the information given, but after more research I have 2 theories. For example I will use the 3DSTATE_WM_HZ_OP instruction [image 1]. So my first theory:
Given the information I assumed that Intel has given enough information for one to program the integrated graphics by directly writing the binary instruction (or to write an assembler). However after mroe digging around I found the following [image 2] on Intel's github (https://github.com/intel/external-mesa/ ... _defines.h) which led me to my second theory.
My second theory is a user would be able to use the given instruction by utilizing Intel's mesa library (I'm assuming its precompiled and the #define statement points to the address in memory were the function resides).
However I'm not entirely to sure, and after googling a variety of the instructions I figured I post on here, go to bed, and wake up to hopefully someone answering my question.
Thanks,
bigboyav