drm/i915: CTS fixes
Subsystems (2)
v3 cover drm/i915: CTS fixes
From experimentation writing/reading those out those registers seems to be read-only. Contrary to the description in the documentation...
So whitelist them as read only.
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 | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-)
--
2.21.0.392.gf8f6787159e
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v3 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 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/gt/intel_workarounds.c +9 -1
@@ -1092,10 +1092,18 @@ static void glk_whitelist_build(struct intel_engine_cs *engine)static void cfl_whitelist_build (struct intel_engine_cs *engine) { +struct i915_wa_list *w = &engine->whitelist; +if (engine->class !=RENDER_CLASS )return ; -gen9_whitelist_build (&engine->whitelist); +gen9_whitelist_build (w); + +/* WaAllowPMDepthAndInvocationCountAccessFromUMD:cfl,whl,cml,aml */ +whitelist_reg_ext (w,PS_DEPTH_COUNT ,RING_FORCE_TO_NONPRIV_RD ); +whitelist_reg_ext (w,PS_DEPTH_COUNT_UDW ,RING_FORCE_TO_NONPRIV_RD ); +whitelist_reg_ext (w,PS_INVOCATION_COUNT ,RING_FORCE_TO_NONPRIV_RD ); +whitelist_reg_ext (w,PS_INVOCATION_COUNT_UDW ,RING_FORCE_TO_NONPRIV_RD ); }static void cnl_whitelist_build (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
PATCH v3 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
@@ -1131,6 +1131,12 @@ static void icl_whitelist_build(struct intel_engine_cs *engine)/* WaEnableStateCacheRedirectToCS:icl */ whitelist_reg (w,GEN9_SLICE_COMMON_ECO_CHICKEN1 ); + +/* WaAllowPMDepthAndInvocationCountAccessFromUMD:icl */ +whitelist_reg_ext (w,PS_DEPTH_COUNT ,RING_FORCE_TO_NONPRIV_RD ); +whitelist_reg_ext (w,PS_DEPTH_COUNT_UDW ,RING_FORCE_TO_NONPRIV_RD ); +whitelist_reg_ext (w,PS_INVOCATION_COUNT ,RING_FORCE_TO_NONPRIV_RD ); +whitelist_reg_ext (w,PS_INVOCATION_COUNT_UDW ,RING_FORCE_TO_NONPRIV_RD );break ;case VIDEO_DECODE_CLASS :
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.CHECKPATCH: warning for drm/i915: CTS fixes (rev3)
In reply to Lionel Landwerlin== Series Details ==
== Series Details ==
Series: drm/i915: CTS fixes (rev3)
URL : https://patchwork.freedesktop.org/series/62437/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 73c970b28af1 drm/i915: whitelist PS_(DEPTH|INVOCATION)_COUNT -:11: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line) #11: KHR-GL45.pipeline_statistics_query_tests_ARB.functional_fragment_shader_invocations (GL)
total: 0 errors, 1 warnings, 0 checks, 19 lines checked 5e4d6c80907c drm/i915/icl: whitelist PS_(DEPTH|INVOCATION)_COUNT
_______________________________________________
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 (rev3)
In reply to Lionel Landwerlin== Series Details ==
== Series Details ==
Series: drm/i915: CTS fixes (rev3)
URL : https://patchwork.freedesktop.org/series/62437/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_6342 -> Patchwork_13413
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_13413 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_13413, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_13413:
### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live_workarounds:
- fi-cfl-guc: [PASS][1] -> [DMESG-FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-cfl-guc/igt@i915_selftest@live_workarounds.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-cfl-guc/igt@i915_selftest@live_workarounds.html
- fi-cml-u: [PASS][3] -> [DMESG-FAIL][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-cml-u/igt@i915_selftest@live_workarounds.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-cml-u/igt@i915_selftest@live_workarounds.html
- fi-cfl-8109u: [PASS][5] -> [DMESG-FAIL][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-cfl-8109u/igt@i915_selftest@live_workarounds.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-cfl-8109u/igt@i915_selftest@live_workarounds.html
- fi-whl-u: [PASS][7] -> [DMESG-FAIL][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-whl-u/igt@i915_selftest@live_workarounds.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-whl-u/igt@i915_selftest@live_workarounds.html
- fi-icl-dsi: [PASS][9] -> [DMESG-FAIL][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-icl-dsi/igt@i915_selftest@live_workarounds.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-icl-dsi/igt@i915_selftest@live_workarounds.html
- fi-icl-u3: [PASS][11] -> [DMESG-FAIL][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-icl-u3/igt@i915_selftest@live_workarounds.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-icl-u3/igt@i915_selftest@live_workarounds.html
- fi-cfl-8700k: [PASS][13] -> [DMESG-FAIL][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-cfl-8700k/igt@i915_selftest@live_workarounds.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-cfl-8700k/igt@i915_selftest@live_workarounds.html
- fi-icl-u2: [PASS][15] -> [DMESG-FAIL][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-icl-u2/igt@i915_selftest@live_workarounds.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-icl-u2/igt@i915_selftest@live_workarounds.html
- fi-cml-u2: [PASS][17] -> [DMESG-FAIL][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-cml-u2/igt@i915_selftest@live_workarounds.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-cml-u2/igt@i915_selftest@live_workarounds.html
Known issues
------------
Here are the changes found in Patchwork_13413 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s4-devices:
- fi-icl-u3: [PASS][19] -> [DMESG-WARN][20] ([fdo#107724])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-icl-u3/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-icl-u3/igt@[email protected]
* igt@i915_pm_rpm@module-reload:
- fi-skl-6770hq: [PASS][21] -> [FAIL][22] ([fdo#108511])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-skl-6770hq/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-skl-6770hq/igt@[email protected]
* igt@kms_chamelium@dp-crc-fast:
- fi-cml-u2: [PASS][23] -> [FAIL][24] ([fdo#110627])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-cml-u2/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-cml-u2/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- fi-icl-u2: [PASS][25] -> [FAIL][26] ([fdo#103167])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-icl-u2/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-icl-u2/igt@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live_blt:
- fi-skl-iommu: [INCOMPLETE][27] ([fdo#108602]) -> [PASS][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-skl-iommu/igt@i915_selftest@live_blt.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-skl-iommu/igt@i915_selftest@live_blt.html
* igt@i915_selftest@live_sanitycheck:
- fi-icl-u3: [DMESG-WARN][29] ([fdo#107724]) -> [PASS][30] +1 similar issue
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-icl-u3/igt@i915_selftest@live_sanitycheck.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-icl-u3/igt@i915_selftest@live_sanitycheck.html
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#108511]: https://bugs.freedesktop.org/show_bug.cgi?id=108511
[fdo#108602]: https://bugs.freedesktop.org/show_bug.cgi?id=108602
[fdo#110627]: https://bugs.freedesktop.org/show_bug.cgi?id=110627
Participating hosts (53 -> 45)
------------------------------
Missing (8): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-bwr-2160 fi-icl-y fi-byt-clapper fi-bdw-samus
Build changes
-------------
* Linux: CI_DRM_6342 -> Patchwork_13413
CI_DRM_6342: 6eef272b254b34200129af8f2ec1e4cfe1ca6bff @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5067: 5eafa33dbdb1d3c190ac5060161c45152e9a298e @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_13413: 5e4d6c80907ce04521f6a3ea58b7eca2dd8193bc @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
5e4d6c80907c drm/i915/icl: whitelist PS_(DEPTH|INVOCATION)_COUNT 73c970b28af1 drm/i915: whitelist PS_(DEPTH|INVOCATION)_COUNT
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: ✗ Fi.CI.BAT: failure for drm/i915: CTS fixes (rev3)
Anybody knows whether the selftests are dealing with read only whitelisted registers? I'm not quite sure what can be tested with those (unless you can exercise the 3d pipeline in this case).
-Lionel
Quoted 130 lines · Patchwork
== Series Details ==
Series: drm/i915: CTS fixes (rev3)
URL : https://patchwork.freedesktop.org/series/62437/
State : failure== Summary ==
CI Bug Log - changes from
CI_DRM_6342->Patchwork_13413
====================================================Summary
-------**FAILURE**
Serious unknown changes coming with
Patchwork_13413absolutely need to be verified manually.If you think the reported changes have nothing to do with the changes introduced in
Patchwork_13413, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/Possible new issues
-------------------Here are the unknown changes that may have been introduced in
Patchwork_13413:### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live_workarounds: - fi-cfl-guc: [PASS][1] -> [DMESG-FAIL][2] [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-cfl-guc/igt@i915_selftest@live_workarounds.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-cfl-guc/igt@i915_selftest@live_workarounds.html - fi-cml-u: [PASS][3] -> [DMESG-FAIL][4] [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-cml-u/igt@i915_selftest@live_workarounds.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-cml-u/igt@i915_selftest@live_workarounds.html - fi-cfl-8109u: [PASS][5] -> [DMESG-FAIL][6] [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-cfl-8109u/igt@i915_selftest@live_workarounds.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-cfl-8109u/igt@i915_selftest@live_workarounds.html - fi-whl-u: [PASS][7] -> [DMESG-FAIL][8] [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-whl-u/igt@i915_selftest@live_workarounds.html [8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-whl-u/igt@i915_selftest@live_workarounds.html - fi-icl-dsi: [PASS][9] -> [DMESG-FAIL][10] [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-icl-dsi/igt@i915_selftest@live_workarounds.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-icl-dsi/igt@i915_selftest@live_workarounds.html - fi-icl-u3: [PASS][11] -> [DMESG-FAIL][12] [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-icl-u3/igt@i915_selftest@live_workarounds.html [12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-icl-u3/igt@i915_selftest@live_workarounds.html - fi-cfl-8700k: [PASS][13] -> [DMESG-FAIL][14] [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-cfl-8700k/igt@i915_selftest@live_workarounds.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-cfl-8700k/igt@i915_selftest@live_workarounds.html - fi-icl-u2: [PASS][15] -> [DMESG-FAIL][16] [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-icl-u2/igt@i915_selftest@live_workarounds.html [16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-icl-u2/igt@i915_selftest@live_workarounds.html - fi-cml-u2: [PASS][17] -> [DMESG-FAIL][18] [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-cml-u2/igt@i915_selftest@live_workarounds.html [18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-cml-u2/igt@i915_selftest@live_workarounds.htmlKnown issues
------------Here are the changes found in
Patchwork_13413that come from known issues:### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s4-devices:
- fi-icl-u3: [PASS][19] -> [DMESG-WARN][20] ([fdo#107724]) [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-icl-u3/igt@[email protected] [20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-icl-u3/igt@[email protected]* igt@i915_pm_rpm@module-reload:
- fi-skl-6770hq: [PASS][21] -> [FAIL][22] ([fdo#108511]) [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-skl-6770hq/igt@[email protected] [22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-skl-6770hq/igt@[email protected]* igt@kms_chamelium@dp-crc-fast:
- fi-cml-u2: [PASS][23] -> [FAIL][24] ([fdo#110627]) [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-cml-u2/igt@[email protected] [24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-cml-u2/igt@[email protected]* igt@kms_frontbuffer_tracking@basic:
- fi-icl-u2: [PASS][25] -> [FAIL][26] ([fdo#103167]) [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-icl-u2/igt@[email protected] [26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-icl-u2/igt@[email protected]#### Possible fixes ####
* igt@i915_selftest@live_blt: - fi-skl-iommu: [INCOMPLETE][27] ([fdo#108602]) -> [PASS][28] [27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-skl-iommu/igt@i915_selftest@live_blt.html [28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-skl-iommu/igt@i915_selftest@live_blt.html * igt@i915_selftest@live_sanitycheck: - fi-icl-u3: [DMESG-WARN][29] ([fdo#107724]) -> [PASS][30] +1 similar issue [29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6342/fi-icl-u3/igt@i915_selftest@live_sanitycheck.html [30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/fi-icl-u3/igt@i915_selftest@live_sanitycheck.html [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167 [fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724 [fdo#108511]: https://bugs.freedesktop.org/show_bug.cgi?id=108511 [fdo#108602]: https://bugs.freedesktop.org/show_bug.cgi?id=108602 [fdo#110627]: https://bugs.freedesktop.org/show_bug.cgi?id=110627Participating hosts (53 -> 45)
------------------------------Missing (8): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-bwr-2160 fi-icl-y fi-byt-clapper fi-bdw-samusBuild changes
-------------* Linux: CI_DRM_6342 -> Patchwork_13413 CI_DRM_6342: 6eef272b254b34200129af8f2ec1e4cfe1ca6bff @ git://anongit.freedesktop.org/gfx-ci/linux IGT_5067: 5eafa33dbdb1d3c190ac5060161c45152e9a298e @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools Patchwork_13413: 5e4d6c80907ce04521f6a3ea58b7eca2dd8193bc @ git://anongit.freedesktop.org/gfx-ci/linux
Quoted 9 lines
== Linux commits ==
5e4d6c80907cdrm/i915/icl: whitelist PS_(DEPTH|INVOCATION)_COUNT73c970b28af1drm/i915: whitelist PS_(DEPTH|INVOCATION)_COUNT== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13413/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: ✗ Fi.CI.BAT: failure for drm/i915: CTS fixes (rev3)
Quoting Lionel Landwerlin (2019-06-25 14:09:57)
Quoted 4 lines
Anybody knows whether the selftests are dealing with read only whitelisted registers?
I'm not quite sure what can be tested with those (unless you can exercise the 3d pipeline in this case).
John added a hack:
static bool ro_register(u32 reg)
{
if (reg & RING_FORCE_TO_NONPRIV_RD)
return true;
return false;
}to ignore them. It is not clear why that did not take. -Chris
_______________________________________________
Intel-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: ✗ Fi.CI.BAT: failure for drm/i915: CTS fixes (rev3)
Quoted 15 lines · Chris Wilson
Quoting Lionel Landwerlin (2019-06-25 14:09:57)
Quoted 4 lines
Anybody knows whether the selftests are dealing with read only whitelisted registers?
I'm not quite sure what can be tested with those (unless you can exercise the 3d pipeline in this case).John added a hack:
static bool
ro_register(u32 reg){ if (reg & RING_FORCE_TO_NONPRIV_RD) return true; return false; }
Quoted 3 lines
to ignore them. It is not clear why that did not take. -Chris
Oh...
That seems broken for a read only register and a default value of 0 :
static bool result_neq(struct intel_engine_cs *engine,
u32 a, u32 b, i915_reg_t reg)
{
if (a == b && !writeonly_reg(engine->i915, reg)) { pr_err("Whitelist register 0x%4x:%08x was unwritable\n", i915_mmio_reg_offset(reg), a);
return false;
}
return true;
}
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: ✗ Fi.CI.BAT: failure for drm/i915: CTS fixes (rev3)
Quoting Lionel Landwerlin (2019-06-25 14:24:42)
Quoted 16 lines · Chris Wilson
Quoted 15 lines
Quoting Lionel Landwerlin (2019-06-25 14:09:57)
Quoted 4 lines
Anybody knows whether the selftests are dealing with read only whitelisted registers?
I'm not quite sure what can be tested with those (unless you can exercise the 3d pipeline in this case).John added a hack:
static bool
ro_register(u32 reg){ if (reg & RING_FORCE_TO_NONPRIV_RD) return true; return false; }
Quoted 6 lines
Quoted 3 lines
to ignore them. It is not clear why that did not take. -Chris
Oh...
That seems broken for a read only register and a default value of 0 :
True. Tvrtko proved right that he should have held out for an actual selftest rather than letting it through with a hack. -Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: ✗ Fi.CI.BAT: failure for drm/i915: CTS fixes (rev3)
In reply to Lionel LandwerlinQuoting Lionel Landwerlin (2019-06-25 14:09:57)
Quoted 2 lines
I'm not quite sure what can be tested with those (unless you can exercise the 3d pipeline in this case).
Sure, it's just setting up the GPU with a full 3D state after all ;)
Making sure that CI does include a functional test for these would be useful. I thought we have piglit on icl (or maybe we don't have enough icl for that yet?), but do we need crucible as well?
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: ✗ Fi.CI.BAT: failure for drm/i915: CTS fixes (rev3)
Quoted 10 lines · Chris Wilson
Quoting Lionel Landwerlin (2019-06-25 14:09:57)
Quoted 2 lines
I'm not quite sure what can be tested with those (unless you can exercise the 3d pipeline in this case).
Sure, it's just setting up the GPU with a full 3D state after all ;)
Making sure that CI does include a functional test for these would be useful. I thought we have piglit on icl (or maybe we don't have enough icl for that yet?), but do we need crucible as well?
-Chris
There is one piglit test that catches this and quite a few Vulkan CTS tests.
I don't think we have anything in crucible.
Probably not run in CI yet.
-Lionel
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx