Skip to content

Commit 0941521

Browse files
ZhuChenyanXchenyanxzhu
authored andcommitted
Enable codechal dump
Dump params/cmdbuf/surface for each codec module. Tracked-On: Signed-off-by: ZhuChenyanX <zhucx@intel.com>
1 parent 81c0925 commit 0941521

2 files changed

Lines changed: 163 additions & 0 deletions

File tree

Lines changed: 162 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,162 @@
1+
###################################################################
2+
## CodecDbgSettings.cfg
3+
## - White space should be agnostic.
4+
## - '#' as first non-white space char denotes line as comment
5+
## - '@frame ALL' MUST be present as the first directive, even if
6+
## nothing is dumped for every frame.
7+
###################################################################
8+
9+
###################################################################
10+
## key words defined under @mode ALL works for both encode & decode
11+
###################################################################
12+
13+
@mode ALL
14+
@Frame ALL
15+
16+
PicParams:1
17+
SlcParams:1
18+
SubsetsParams:0
19+
IqParams:0
20+
Bitstream:1
21+
DecodeBitstream:1
22+
#HucRegions:0
23+
#HucDmem:0
24+
CmdBufferMfx:1
25+
#2ndLvlBatchMfx:1
26+
#HuffmanTbl:0
27+
#ScanParams:0
28+
#DriverUltDump:0
29+
#DumpBufferInBinary:1
30+
#DumpToThreadFolder:1
31+
#DumpCmdBufInBinary:1
32+
StatusReport:1
33+
34+
#StreamOut:1
35+
#StreamIn:1
36+
##ResidualDifference:0
37+
##Deblocking:0
38+
#MvData:1
39+
#SfcOutputSurface:1
40+
#ReferenceSurfaces:1
41+
##EncodeRawInputSurface:0
42+
##ReconstructedSurface:0
43+
##PakInput:0
44+
##PakOutput:0
45+
##UpsamplingInput:0
46+
##ResidualSurface:0
47+
##StCoeff:0
48+
##CoeffPredCs:0
49+
##MbRecord:0
50+
##PakObjStreamOut:0
51+
##TileBasedStats:0
52+
##OverwriteCommands:0
53+
##ForceCmdDumpLvl:0
54+
##ForceCurbeDumpLvl:0
55+
##FrameState:0
56+
##BrcPakStats:0
57+
##CUStreamout:0
58+
##ImageState:0
59+
##SliceSizeStreamout:0
60+
##PakHwCoeffProbs:0
61+
##ROIInput:0
62+
##MD5HasEnable:0
63+
##MD5FlushInterval:0
64+
##MD5PicWidth:0
65+
##MD5PicHeight:0
66+
67+
###################################################################
68+
## key words defined under @mode decode works for decode only
69+
###################################################################
70+
71+
@mode decode
72+
@Frame ALL
73+
74+
#SegmentParams:1
75+
#MbParams:1
76+
#Vc1Bitplane:1
77+
#CoefProb:1
78+
#SegId:1
79+
DecodeOutputSurface:1
80+
#DumpAuxsurface:1
81+
#DecodeProcParams:1
82+
DecodeBitstream:1
83+
###############################################################
84+
## key words defined under @mode encode works for encode only
85+
###############################################################
86+
87+
#@mode encode
88+
#@Frame ALL
89+
90+
#FeiPicParams:0
91+
#SeqParams:0
92+
#VuiParams:0
93+
#DumpEncodePar:0
94+
#VdencOutput:0
95+
96+
###############################################################
97+
## key words defined for kernel
98+
###############################################################
99+
#@Vc1Olp ALL
100+
#@MbEncNorm ALL
101+
#@MbEncPerf ALL
102+
#@MbEncQlty ALL
103+
#@IFrameDist ALL
104+
#@32xScaling ALL
105+
#@16xScaling ALL
106+
#@4xScaling ALL
107+
#@32xMe ALL
108+
#@16xMe ALL
109+
#@4xMe ALL
110+
#@BrcInitReset ALL
111+
#@BrcUpdate ALL
112+
#@MbPakP1 ALL
113+
#@MbPakP2 ALL
114+
#@MbEncChroma ALL
115+
#@MbEncLuma ALL
116+
#@Mpu ALL
117+
#@Tpu ALL
118+
#@MbEncADV ALL
119+
#@2xScaling ALL
120+
#@HEVC_32x32_PU_MD ALL
121+
#@HEVC_16x16_PU_SAD ALL
122+
#@HEVC_16x16_PU_MD ALL
123+
#@HEVC_8x8_PU_MD ALL
124+
#@HEVC_8x8_PU_FMODE ALL
125+
#@HEVC_32x32_B_INTRA_CHECK ALL
126+
#@HEVC_B_MBENC ALL
127+
#@HEVC_B_PAK ALL
128+
#@HEVC_LCU_BRCUpdate ALL
129+
#@MeVDEncStreamIn ALL
130+
#@VP9_I_32x32_MBENC ALL
131+
#@VP9_I_16x16_MBENC ALL
132+
#@VP9_P_MBENC ALL
133+
#@VP9_TX_MBENC ALL
134+
#@VP9_DYS ALL
135+
#@VP9_I_MBPAK_LumaRecon ALL
136+
#@VP9_I_MBPAK_ChromaRecon ALL
137+
#@VP9_I_MBPAK_DeblockMask ALL
138+
#@VP9_I_MBPAK_LumaDeblock ALL
139+
#@VP9_I_MBPAK_ChromaDeblock ALL
140+
#@VP9_P_MbPak_McPred ALL
141+
#@VP9_P_MbPak_LumaRecon ALL
142+
#@VP9_P_MbPak_LumaRecon ALL
143+
#@VP9_P_MbPak_ChromaRecon ALL
144+
#@VP9_Intra_P_MbPak_LumaRecon ALL
145+
#@VP9_Intra_P_MbPak_ChromaRecon ALL
146+
#@PreProc ALL
147+
#@WP ALL
148+
#@HEVC_I_MBENC ALL
149+
#@CSCDsCopy ALL
150+
#@2x_4xScaling ALL
151+
#@HEVC_LCU64_B_MBENC ALL
152+
#@MbBrcUpdate ALL
153+
#@StaticFrameDetection ALL
154+
#@HEVC_ROI ALL
155+
#@InitSWScoreboard ALL
156+
157+
### Encode plug-in ###
158+
#@force
159+
#ForceCmpDumpLvl:3
160+
#@OverwriteCurbe
161+
#ForceCurbeDumpLvl:3
162+

Tools/MediaDriverTools/UMDPerfProfiler/igfx_user_feature_next.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Disable Media Encode Scalability=1
99

1010
Dump Command Buffer Enable=1
1111
Message HLT Output Directory=/data/local/tmp
12+
CodecHal Debug Output Directory=/data/local/tmp/codechal_dump
1213

1314
Message Print Enabled=1
1415
Mos Message Tags=3

0 commit comments

Comments
 (0)