Skip to content

Commit c0d7be3

Browse files
Add debug flags
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
1 parent 2d2b795 commit c0d7be3

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

opencl/test/unit_test/test_files/igdrcl.config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,3 +336,9 @@ PrintMemoryRegionSizes = 0
336336
OverrideDrmRegion = -1
337337
AllowSingleTileEngineInstancedSubDevices = 0
338338
BinaryCacheTrace = false
339+
OverrideL1CacheControlInSurfaceState = -1
340+
OverridePreferredSlmAllocationSizePerDss = -1
341+
ForceL3PrefetchForComputeWalker = -1
342+
ForceZPassAsyncComputeThreadLimit = -1
343+
ForcePixelAsyncComputeThreadLimit = -1
344+
DecompressInL3ForImage2dFromBuffer = -1

shared/source/debug_settings/debug_variables_base.inl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,12 @@ DECLARE_DEBUG_VARIABLE(int32_t, EnableStatelessCompression, -1, "-1: default, 0:
155155
DECLARE_DEBUG_VARIABLE(int32_t, EnableMultiTileCompression, -1, "-1: default, 0: disable, 1: enable, Enables compression in multi tile scenarios.")
156156
DECLARE_DEBUG_VARIABLE(int32_t, OverrideGmmResourceUsageField, -1, "-1: default, >=0: gmm.resourceParams.Usage is set to this value")
157157
DECLARE_DEBUG_VARIABLE(int32_t, OverrideBufferSuitableForRenderCompression, -1, "-1: default, 0: Disable, 1: Enable")
158+
DECLARE_DEBUG_VARIABLE(int32_t, OverrideL1CacheControlInSurfaceState, -1, "-1: feature inactive, >=0 : following L1 cache control value will be programmed in render surface state")
159+
DECLARE_DEBUG_VARIABLE(int32_t, OverridePreferredSlmAllocationSizePerDss, -1, "-1: default, >=0: program value for preferred SLM allocation size per dss")
160+
DECLARE_DEBUG_VARIABLE(int32_t, ForceL3PrefetchForComputeWalker, -1, "-1: default, 0: disable, 1: enable")
161+
DECLARE_DEBUG_VARIABLE(int32_t, ForceZPassAsyncComputeThreadLimit, -1, "-1: default, >0: Limit value in STATE_COMPUTE_MODE")
162+
DECLARE_DEBUG_VARIABLE(int32_t, ForcePixelAsyncComputeThreadLimit, -1, "-1: default, >0: Limit value in STATE_COMPUTE_MODE")
163+
DECLARE_DEBUG_VARIABLE(int32_t, DecompressInL3ForImage2dFromBuffer, -1, "-1: default, 0: WA Disabled, 1: WA enabled - Enable DecompressInL3 for image 2d from compressed buffer")
158164

159165
/*LOGGING FLAGS*/
160166
DECLARE_DEBUG_VARIABLE(int32_t, PrintDriverDiagnostics, -1, "prints driver diagnostics messages to standard output, value corresponds to hint level")

0 commit comments

Comments
 (0)