intel-gpu-tool用法小记

下载https://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git后编译,在intel-gpu-tools/tools/下生成的可执行文件中,有这么两个:
intel_reg,intel_watermark

把intel-gpu-tools/tools/registers/下的文件拷贝到特定目录后,运行结果如下:

$ sudo intel_reg dump

buf is /usr/local/share/igt-gpu-tools/registers/5912
buf is /usr/local/share/igt-gpu-tools/registers/kabylake
GEN8_MASTER_IRQ (0x00044200): 0x80000000
GEN8_GT_ISR0 (0x00044300): 0x00000000
GEN8_GT_IMR0 (0x00044304): 0xfefefefe
GEN8_GT_IIR0 (0x00044308): 0x00000000
GEN8_GT_IER0 (0x0004430c): 0x01010101

$ sudo intel_watermark

 WM_LINETIME_A 0x00000000        WM_LINETIME_B 0x00000000        WM_LINETIME_C 0x00000000

     CUR_CTL_A 0x00000000            CUR_CTL_B 0x00000000            CUR_CTL_C 0x00000000
 PLANE_CTL_1_A 0x00000000        PLANE_CTL_1_B 0x00000000        PLANE_CTL_1_C 0x00000000
 PLANE_CTL_2_A 0x00000000        PLANE_CTL_2_B 0x00000000        PLANE_CTL_2_C 0x00000000
 PLANE_CTL_3_A 0x00000000        PLANE_CTL_3_B 0x00000000        PLANE_CTL_3_C 0x00000000

    CUR_WM_A_0 0x00000000           CUR_WM_B_0 0x00000000           CUR_WM_C_0 0x00000000
    CUR_WM_A_1 0x00000000           CUR_WM_B_1 0x00000000           CUR_WM_C_1 0x00000000

发表评论

邮箱地址不会被公开。 必填项已用*标注