drm/i915: CTS fixes
Subsystems (2)
cover drm/i915: CTS fixes
Hi,
A couple of changes that fix CTS tests on CFL+ & ICL. It would be good to have those in stable release but I don't know what tag to put.
Cheers,
Lionel Landwerlin (2):
drm/i915: whitelist PS_(DEPTH|INVOCATION)_COUNT drm/i915/icl: whitelist PS_(DEPTH|INVOCATION)_COUNT
drivers/gpu/drm/i915/gt/intel_workarounds.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
--
2.21.0.392.gf8f6787159e
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 1/2 drm/i915: whitelist PS_(DEPTH|INVOCATION)_COUNT
CFL:C0+ changed the status of those registers which are now blacklisted by default.
This is breaking a number of CTS tests on GL & Vulkan :
KHR-GL45.pipeline_statistics_query_tests_ARB.functional_fragment_shader_invocations (GL)
dEQP-VK.query_pool.statistics_query.fragment_shader_invocations.* (Vulkan)
--- drivers/gpu/drm/i915/gt/intel_workarounds.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/gpu/drm/i915/gt/intel_workarounds.c +6 -0
@@ -1068,6 +1068,12 @@ static void glk_whitelist_build(struct i915_wa_list *w)static void cfl_whitelist_build (struct i915_wa_list *w) {gen9_whitelist_build (w); + +/* WaAllowPMDepthAndInvocationCountAccessFromUMD:cfl,whl,cml,aml */ +whitelist_reg (w,PS_DEPTH_COUNT ); +whitelist_reg (w,PS_DEPTH_COUNT_UDW ); +whitelist_reg (w,PS_INVOCATION_COUNT ); +whitelist_reg (w,PS_INVOCATION_COUNT_UDW ); }static void cnl_whitelist_build (struct i915_wa_list *w)
Signature · 6 lines
2.21.0.392.gf8f6787159e _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 2/2 drm/i915/icl: whitelist PS_(DEPTH|INVOCATION)_COUNT
In reply to Lionel LandwerlinThe same tests failing on CFL+ platforms are also failing on ICL. Documentation doesn't list the WaAllowPMDepthAndInvocationCountAccessFromUMD workaround for ICL but applying it fixes the same tests as CFL.
--- drivers/gpu/drm/i915/gt/intel_workarounds.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/gpu/drm/i915/gt/intel_workarounds.c +6 -0
@@ -1092,6 +1092,12 @@ static void icl_whitelist_build(struct i915_wa_list *w)/* WaEnableStateCacheRedirectToCS:icl */ whitelist_reg (w,GEN9_SLICE_COMMON_ECO_CHICKEN1 ); + +/* WaAllowPMDepthAndInvocationCountAccessFromUMD:icl */ +whitelist_reg (w,PS_DEPTH_COUNT ); +whitelist_reg (w,PS_DEPTH_COUNT_UDW ); +whitelist_reg (w,PS_INVOCATION_COUNT ); +whitelist_reg (w,PS_INVOCATION_COUNT_UDW ); }void intel_engine_init_whitelist (struct intel_engine_cs *engine)
Signature · 6 lines
2.21.0.392.gf8f6787159e _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.BAT: failure for drm/i915: CTS fixes
In reply to Lionel Landwerlin== Series Details ==
== Series Details ==
Series: drm/i915: CTS fixes
URL : https://patchwork.freedesktop.org/series/62437/
State : failure
== Summary ==
Applying: drm/i915: whitelist PS_(DEPTH|INVOCATION)_COUNT
Using index info to reconstruct a base tree...
M drivers/gpu/drm/i915/gt/intel_workarounds.c
Falling back to patching base and 3-way merge...
Auto-merging drivers/gpu/drm/i915/gt/intel_workarounds.c
CONFLICT (content): Merge conflict in drivers/gpu/drm/i915/gt/intel_workarounds.c
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch' to see the failed patch Patch failed at 0001 drm/i915: whitelist PS_(DEPTH|INVOCATION)_COUNT When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx