drm/i915/selftests: Remove hardcoded value with a macro
Subsystems (2)
PATCH 1/1 drm/i915/selftests: Remove hardcoded value with a macro
Use MI_USE_GGTT instead of hardcoded value.
--- drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c +1 -1
@@ -222,7 +222,7 @@ static int gpu_set(struct context *ctx, unsigned long offset, u32 v) }if (GRAPHICS_VER (ctx->engine->i915) >=8 ) { - *cs++ =MI_STORE_DWORD_IMM_GEN4 |1 <<22 ; + *cs++ =MI_STORE_DWORD_IMM_GEN4 |MI_USE_GGTT ; *cs++ =lower_32_bits (i915_ggtt_offset (vma) + offset); *cs++ =upper_32_bits (i915_ggtt_offset (vma) + offset); *cs++ = v;
Signature · 1 line
2.38.0
Patchwork
CI[Intel-gfx] ✗ Fi.CI.DOCS: warning for drm/i915/selftests: Remove hardcoded value with a macro
== Series Details ==
== Series Details ==
Series: drm/i915/selftests: Remove hardcoded value with a macro
URL : https://patchwork.freedesktop.org/series/111891/
State : warning
== Summary ==
Error: make htmldocs had i915 warnings./drivers/gpu/drm/i915/display/intel_dsb.c:201: warning: Excess function parameter 'crtc_state' description in 'intel_dsb_reg_write' ./drivers/gpu/drm/i915/display/intel_dsb.c:201: warning: Function parameter or member 'dsb' not described in 'intel_dsb_reg_write' ./drivers/gpu/drm/i915/display/intel_dsb.c:201: warning: Excess function parameter 'crtc_state' description in 'intel_dsb_reg_write'
Patchwork
CI[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/selftests: Remove hardcoded value with a macro
In reply to Nirmoy Das== Series Details ==
== Series Details ==
Series: drm/i915/selftests: Remove hardcoded value with a macro
URL : https://patchwork.freedesktop.org/series/111891/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_12501 -> Patchwork_111891v1
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_111891v1 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_111891v1, 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_111891v1/index.html
Participating hosts (38 -> 19)
------------------------------
ERROR: It appears as if the changes made in Patchwork_111891v1 prevented too many machines from booting.
Additional (1): fi-skl-guc
Missing (20): fi-kbl-soraka bat-dg1-6 bat-dg1-5 bat-adlp-6 fi-skl-6600u fi-bsw-n3050 bat-dg2-8 bat-adlm-1 bat-dg2-9 fi-bwr-2160 bat-adln-1 bat-atsm-1 bat-jsl-3 bat-rplp-1 bat-dg2-11 fi-bsw-nick bat-dg1-7 bat-kbl-2 bat-adlp-9 bat-adlp-4
Known issues
------------
Here are the changes found in Patchwork_111891v1 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_lmem_swapping@basic:
- fi-skl-guc: NOTRUN -> [SKIP][1] ([fdo#109271] / [i915#4613]) +3 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111891v1/fi-skl-guc/igt@[email protected]
* igt@i915_suspend@basic-s3-without-i915:
- fi-rkl-11600: [PASS][2] -> [INCOMPLETE][3] ([i915#4817])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12501/fi-rkl-11600/igt@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111891v1/fi-rkl-11600/igt@[email protected]
* igt@kms_chamelium@hdmi-crc-fast:
- fi-skl-guc: NOTRUN -> [SKIP][4] ([fdo#109271] / [fdo#111827]) +8 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111891v1/fi-skl-guc/igt@[email protected]
* igt@kms_setmode@basic-clone-single-crtc:
- fi-skl-guc: NOTRUN -> [SKIP][5] ([fdo#109271]) +9 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111891v1/fi-skl-guc/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_gttfill@basic:
- fi-pnv-d510: [FAIL][6] ([i915#7229]) -> [PASS][7]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12501/fi-pnv-d510/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111891v1/fi-pnv-d510/igt@[email protected]
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4817]: https://gitlab.freedesktop.org/drm/intel/issues/4817
[i915#7229]: https://gitlab.freedesktop.org/drm/intel/issues/7229
Build changes
-------------
* Linux: CI_DRM_12501 -> Patchwork_111891v1
CI-20190529: 20190529
CI_DRM_12501: 1b38b5a419ab3d838b6ac95d22f1fe057fc8889d @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7091: b8015f920c9f469d3733854263cb878373c1df51 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_111891v1: 1b38b5a419ab3d838b6ac95d22f1fe057fc8889d @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
eaf43d121582 drm/i915/selftests: Remove hardcoded value with a macro
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111891v1/index.html
Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/selftests: Remove hardcoded value with a macro
Quoted 10 lines · Patchwork
Project List - Patchwork *Patch Details*
*Series:* drm/i915/selftests: Remove hardcoded value with a macro
*URL:* https://patchwork.freedesktop.org/series/111891/
*State:* failure
*Details:* https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111891v1/index.htmlCI Bug Log - changes from
CI_DRM_12501->Patchwork_111891v1
Quoted 7 lines
Summary
*FAILURE*
Serious unknown changes coming with
Patchwork_111891v1absolutely need to be verified manually.
This is a bit stretch, the patch didn't change any thing functional. We can ignore the failure.
Nirmoy
Quoted 92 lines
If you think the reported changes have nothing to do with the changes introduced in
Patchwork_111891v1, 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_111891v1/index.html
Participating hosts (38 -> 19)ERROR: It appears as if the changes made in
Patchwork_111891v1prevented too many machines from booting.Additional (1): fi-skl-guc
Missing (20): fi-kbl-soraka bat-dg1-6 bat-dg1-5 bat-adlp-6 fi-skl-6600u fi-bsw-n3050 bat-dg2-8 bat-adlm-1 bat-dg2-9 fi-bwr-2160 bat-adln-1 bat-atsm-1 bat-jsl-3 bat-rplp-1 bat-dg2-11 fi-bsw-nick bat-dg1-7 bat-kbl-2 bat-adlp-9 bat-adlp-4Known issues
Here are the changes found in
Patchwork_111891v1that come from known issues:IGT changes
Issues hit
*
igt@gem_lmem_swapping@basic: o fi-skl-guc: NOTRUN -> SKIP <https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111891v1/fi-skl-guc/igt@[email protected]> (fdo#109271 <https://bugs.freedesktop.org/show_bug.cgi?id=109271> / i915#4613 <https://gitlab.freedesktop.org/drm/intel/issues/4613>) +3 similar issues*
igt@i915_suspend@basic-s3-without-i915: o fi-rkl-11600: PASS <https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12501/fi-rkl-11600/igt@[email protected]> -> INCOMPLETE <https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111891v1/fi-rkl-11600/igt@[email protected]> (i915#4817 <https://gitlab.freedesktop.org/drm/intel/issues/4817>)*
igt@kms_chamelium@hdmi-crc-fast: o fi-skl-guc: NOTRUN -> SKIP <https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111891v1/fi-skl-guc/igt@[email protected]> (fdo#109271 <https://bugs.freedesktop.org/show_bug.cgi?id=109271> / fdo#111827 <https://bugs.freedesktop.org/show_bug.cgi?id=111827>) +8 similar issues*
igt@kms_setmode@basic-clone-single-crtc: o fi-skl-guc: NOTRUN -> SKIP <https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111891v1/fi-skl-guc/igt@[email protected]> (fdo#109271 <https://bugs.freedesktop.org/show_bug.cgi?id=109271>) +9 similar issues Possible fixes* igt@gem_exec_gttfill@basic:
o fi-pnv-d510: FAIL <https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12501/fi-pnv-d510/igt@[email protected]> (i915#7229 <https://gitlab.freedesktop.org/drm/intel/issues/7229>) -> PASS <https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111891v1/fi-pnv-d510/igt@[email protected]> Build changes* Linux:
CI_DRM_12501->Patchwork_111891v1CI-20190529: 20190529
CI_DRM_12501:1b38b5a419ab3d838b6ac95d22f1fe057fc8889d@git://anongit.freedesktop.org/gfx-ci/linuxIGT_7091:b8015f920c9f469d3733854263cb878373c1df51@ https://gitlab.freedesktop.org/drm/igt-gpu-tools.gitPatchwork_111891v1:1b38b5a419ab3d838b6ac95d22f1fe057fc8889d@git://anongit.freedesktop.org/gfx-ci/linuxLinux commits
eaf43d121582drm/i915/selftests: Remove hardcoded value with a macro
Quoted 3 lines · Nirmoy Das
Use
MI_USE_GGTTinstead of hardcoded value.Signed-off-by Nirmoy Das <[email protected]>
Quoted 12 lines · Nirmoy Das
Use
MI_USE_GGTTinstead of hardcoded value.Signed-off-by Nirmoy Das <[email protected]>--- drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c +0
-0
drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c static int gpu_set(struct context *ctx, unsigned long offset, u32 v) · line 225
Quoted 5 lines
drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c +1
-1@@ -222,7 +222,7 @@ static int gpu_set(struct context *ctx, unsigned long offset, u32 v) }if (GRAPHICS_VER (ctx->engine->i915) >=8 ) { - *cs++ =MI_STORE_DWORD_IMM_GEN4 |1 <<22 ; + *cs++ =MI_STORE_DWORD_IMM_GEN4 |MI_USE_GGTT ;
Regards
Andrzej
Quoted 3 lines
drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c +0
-0*cs++ =lower_32_bits (i915_ggtt_offset (vma) + offset); *cs++ =upper_32_bits (i915_ggtt_offset (vma) + offset); *cs++ = v;