* [Intel-gfx] [PATCH] drm/i915/gmch: avoid unused variable warning
@ 2023-06-12 12:43 Arnd Bergmann
2023-06-12 13:35 ` Andi Shyti
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Arnd Bergmann @ 2023-06-12 12:43 UTC (permalink / raw)
To: Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Tvrtko Ursulin,
David Airlie, Daniel Vetter
Cc: dri-devel, intel-gfx, Arnd Bergmann, linux-kernel
From: Arnd Bergmann <arnd@arndb.de>
When CONFIG_PNP is disabled, the mchbar_addr variable is only written but
not read:
drivers/gpu/drm/i915/soc/intel_gmch.c: In function 'intel_alloc_mchbar_resource':
drivers/gpu/drm/i915/soc/intel_gmch.c:41:13: error: variable 'mchbar_addr' set but not used [-Werror=unused-but-set-variable]
41 | u64 mchbar_addr;
| ^~~~~~~~~~~
No idea why this showed up now, but it's easy to fix by changing the #ifdef to
an IS_ENABLED() check that the compiler can see through.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
I saw this last week already, so it's likely that someone else already sent
a fix for it.
drivers/gpu/drm/i915/soc/intel_gmch.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/i915/soc/intel_gmch.c b/drivers/gpu/drm/i915/soc/intel_gmch.c
index 6d0204942f7a5..49c7fb16e934f 100644
--- a/drivers/gpu/drm/i915/soc/intel_gmch.c
+++ b/drivers/gpu/drm/i915/soc/intel_gmch.c
@@ -47,11 +47,9 @@ intel_alloc_mchbar_resource(struct drm_i915_private *i915)
mchbar_addr = ((u64)temp_hi << 32) | temp_lo;
/* If ACPI doesn't have it, assume we need to allocate it ourselves */
-#ifdef CONFIG_PNP
- if (mchbar_addr &&
+ if (IS_ENABLED(CONFIG_PNP) && mchbar_addr &&
pnp_range_reserved(mchbar_addr, mchbar_addr + MCHBAR_SIZE))
return 0;
-#endif
/* Get some space for it */
i915->gmch.mch_res.name = "i915 MCHBAR";
--
2.39.2
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [Intel-gfx] [PATCH] drm/i915/gmch: avoid unused variable warning 2023-06-12 12:43 [Intel-gfx] [PATCH] drm/i915/gmch: avoid unused variable warning Arnd Bergmann @ 2023-06-12 13:35 ` Andi Shyti 2023-06-12 13:53 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for " Patchwork ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: Andi Shyti @ 2023-06-12 13:35 UTC (permalink / raw) To: Arnd Bergmann Cc: Arnd Bergmann, intel-gfx, linux-kernel, dri-devel, Daniel Vetter, Rodrigo Vivi, David Airlie Hi Arnd, On Mon, Jun 12, 2023 at 02:43:59PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann <arnd@arndb.de> > > When CONFIG_PNP is disabled, the mchbar_addr variable is only written but > not read: > > drivers/gpu/drm/i915/soc/intel_gmch.c: In function 'intel_alloc_mchbar_resource': > drivers/gpu/drm/i915/soc/intel_gmch.c:41:13: error: variable 'mchbar_addr' set but not used [-Werror=unused-but-set-variable] > 41 | u64 mchbar_addr; > | ^~~~~~~~~~~ > > No idea why this showed up now, but it's easy to fix by changing the #ifdef to > an IS_ENABLED() check that the compiler can see through. > > Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com> Andi > --- > I saw this last week already, so it's likely that someone else already sent > a fix for it. > > drivers/gpu/drm/i915/soc/intel_gmch.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/gpu/drm/i915/soc/intel_gmch.c b/drivers/gpu/drm/i915/soc/intel_gmch.c > index 6d0204942f7a5..49c7fb16e934f 100644 > --- a/drivers/gpu/drm/i915/soc/intel_gmch.c > +++ b/drivers/gpu/drm/i915/soc/intel_gmch.c > @@ -47,11 +47,9 @@ intel_alloc_mchbar_resource(struct drm_i915_private *i915) > mchbar_addr = ((u64)temp_hi << 32) | temp_lo; > > /* If ACPI doesn't have it, assume we need to allocate it ourselves */ > -#ifdef CONFIG_PNP > - if (mchbar_addr && > + if (IS_ENABLED(CONFIG_PNP) && mchbar_addr && > pnp_range_reserved(mchbar_addr, mchbar_addr + MCHBAR_SIZE)) > return 0; > -#endif > > /* Get some space for it */ > i915->gmch.mch_res.name = "i915 MCHBAR"; > -- > 2.39.2 > ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/gmch: avoid unused variable warning 2023-06-12 12:43 [Intel-gfx] [PATCH] drm/i915/gmch: avoid unused variable warning Arnd Bergmann 2023-06-12 13:35 ` Andi Shyti @ 2023-06-12 13:53 ` Patchwork 2023-06-12 14:07 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: Patchwork @ 2023-06-12 13:53 UTC (permalink / raw) To: Arnd Bergmann; +Cc: intel-gfx == Series Details == Series: drm/i915/gmch: avoid unused variable warning URL : https://patchwork.freedesktop.org/series/119197/ State : warning == Summary == Error: dim checkpatch failed 578f7e0a22b6 drm/i915/gmch: avoid unused variable warning -:14: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line) #14: No idea why this showed up now, but it's easy to fix by changing the #ifdef to total: 0 errors, 1 warnings, 0 checks, 12 lines checked ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/gmch: avoid unused variable warning 2023-06-12 12:43 [Intel-gfx] [PATCH] drm/i915/gmch: avoid unused variable warning Arnd Bergmann 2023-06-12 13:35 ` Andi Shyti 2023-06-12 13:53 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for " Patchwork @ 2023-06-12 14:07 ` Patchwork 2023-06-12 21:11 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork 2023-06-12 23:03 ` [Intel-gfx] [PATCH] " Andi Shyti 4 siblings, 0 replies; 6+ messages in thread From: Patchwork @ 2023-06-12 14:07 UTC (permalink / raw) To: Arnd Bergmann; +Cc: intel-gfx [-- Attachment #1: Type: text/plain, Size: 5293 bytes --] == Series Details == Series: drm/i915/gmch: avoid unused variable warning URL : https://patchwork.freedesktop.org/series/119197/ State : success == Summary == CI Bug Log - changes from CI_DRM_13262 -> Patchwork_119197v1 ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/index.html Participating hosts (42 -> 40) ------------------------------ Missing (2): fi-kbl-soraka fi-snb-2520m Known issues ------------ Here are the changes found in Patchwork_119197v1 that come from known issues: ### IGT changes ### #### Issues hit #### * igt@i915_selftest@live@slpc: - bat-rpls-1: NOTRUN -> [DMESG-WARN][1] ([i915#6367]) [1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/bat-rpls-1/igt@i915_selftest@live@slpc.html * igt@i915_suspend@basic-s3-without-i915: - bat-rpls-1: NOTRUN -> [ABORT][2] ([i915#6687] / [i915#7978]) [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/bat-rpls-1/igt@i915_suspend@basic-s3-without-i915.html * igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-d-dp-1: - bat-dg2-8: [PASS][3] -> [FAIL][4] ([i915#7932]) [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13262/bat-dg2-8/igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-d-dp-1.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/bat-dg2-8/igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-d-dp-1.html #### Possible fixes #### * igt@core_auth@basic-auth: - {bat-adlp-11}: [ABORT][5] ([i915#8011]) -> [PASS][6] [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13262/bat-adlp-11/igt@core_auth@basic-auth.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/bat-adlp-11/igt@core_auth@basic-auth.html * igt@i915_module_load@load: - {bat-adlp-11}: [DMESG-WARN][7] ([i915#4423]) -> [PASS][8] [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13262/bat-adlp-11/igt@i915_module_load@load.html [8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/bat-adlp-11/igt@i915_module_load@load.html * igt@i915_selftest@live@reset: - bat-rpls-1: [ABORT][9] ([i915#4983] / [i915#7461] / [i915#8347] / [i915#8384]) -> [PASS][10] [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13262/bat-rpls-1/igt@i915_selftest@live@reset.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/bat-rpls-1/igt@i915_selftest@live@reset.html * igt@kms_pipe_crc_basic@nonblocking-crc@pipe-d-dp-1: - bat-dg2-8: [FAIL][11] ([i915#7932]) -> [PASS][12] [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13262/bat-dg2-8/igt@kms_pipe_crc_basic@nonblocking-crc@pipe-d-dp-1.html [12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/bat-dg2-8/igt@kms_pipe_crc_basic@nonblocking-crc@pipe-d-dp-1.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285 [i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708 [i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077 [i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213 [i915#4423]: https://gitlab.freedesktop.org/drm/intel/issues/4423 [i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579 [i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613 [i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983 [i915#5274]: https://gitlab.freedesktop.org/drm/intel/issues/5274 [i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367 [i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621 [i915#6645]: https://gitlab.freedesktop.org/drm/intel/issues/6645 [i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687 [i915#6868]: https://gitlab.freedesktop.org/drm/intel/issues/6868 [i915#7461]: https://gitlab.freedesktop.org/drm/intel/issues/7461 [i915#7699]: https://gitlab.freedesktop.org/drm/intel/issues/7699 [i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828 [i915#7932]: https://gitlab.freedesktop.org/drm/intel/issues/7932 [i915#7978]: https://gitlab.freedesktop.org/drm/intel/issues/7978 [i915#8011]: https://gitlab.freedesktop.org/drm/intel/issues/8011 [i915#8347]: https://gitlab.freedesktop.org/drm/intel/issues/8347 [i915#8384]: https://gitlab.freedesktop.org/drm/intel/issues/8384 [i915#8497]: https://gitlab.freedesktop.org/drm/intel/issues/8497 Build changes ------------- * Linux: CI_DRM_13262 -> Patchwork_119197v1 CI-20190529: 20190529 CI_DRM_13262: 26f62dc5b6119b2fcc3380b76e25dbe3903060a0 @ git://anongit.freedesktop.org/gfx-ci/linux IGT_7326: 02c2cf17628b6203d6105d4a91dfe8a101d482ce @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git Patchwork_119197v1: 26f62dc5b6119b2fcc3380b76e25dbe3903060a0 @ git://anongit.freedesktop.org/gfx-ci/linux ### Linux commits b2bb36e4258a drm/i915/gmch: avoid unused variable warning == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/index.html [-- Attachment #2: Type: text/html, Size: 5251 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/gmch: avoid unused variable warning 2023-06-12 12:43 [Intel-gfx] [PATCH] drm/i915/gmch: avoid unused variable warning Arnd Bergmann ` (2 preceding siblings ...) 2023-06-12 14:07 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork @ 2023-06-12 21:11 ` Patchwork 2023-06-12 23:03 ` [Intel-gfx] [PATCH] " Andi Shyti 4 siblings, 0 replies; 6+ messages in thread From: Patchwork @ 2023-06-12 21:11 UTC (permalink / raw) To: Arnd Bergmann; +Cc: intel-gfx [-- Attachment #1: Type: text/plain, Size: 14839 bytes --] == Series Details == Series: drm/i915/gmch: avoid unused variable warning URL : https://patchwork.freedesktop.org/series/119197/ State : success == Summary == CI Bug Log - changes from CI_DRM_13262_full -> Patchwork_119197v1_full ==================================================== Summary ------- **SUCCESS** No regressions found. Participating hosts (7 -> 7) ------------------------------ No changes in participating hosts Known issues ------------ Here are the changes found in Patchwork_119197v1_full that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_exec_capture@capture-invisible@smem0: - shard-glk: NOTRUN -> [SKIP][1] ([fdo#109271] / [i915#4579] / [i915#6334]) [1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-glk5/igt@gem_exec_capture@capture-invisible@smem0.html * igt@gem_huc_copy@huc-copy: - shard-apl: NOTRUN -> [SKIP][2] ([fdo#109271] / [i915#2190]) [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-apl4/igt@gem_huc_copy@huc-copy.html * igt@gem_lmem_evict@dontneed-evict-race: - shard-glk: NOTRUN -> [SKIP][3] ([fdo#109271] / [i915#4613]) [3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-glk5/igt@gem_lmem_evict@dontneed-evict-race.html * igt@gem_mmap_gtt@fault-concurrent-y: - shard-snb: [PASS][4] -> [ABORT][5] ([i915#5161]) [4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13262/shard-snb4/igt@gem_mmap_gtt@fault-concurrent-y.html [5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-snb2/igt@gem_mmap_gtt@fault-concurrent-y.html * igt@gen9_exec_parse@allowed-single: - shard-apl: [PASS][6] -> [ABORT][7] ([i915#5566]) [6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13262/shard-apl4/igt@gen9_exec_parse@allowed-single.html [7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-apl4/igt@gen9_exec_parse@allowed-single.html * igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_mc_ccs: - shard-glk: NOTRUN -> [SKIP][8] ([fdo#109271] / [i915#3886]) +1 similar issue [8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-glk5/igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_mc_ccs.html * igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_gen12_mc_ccs: - shard-apl: NOTRUN -> [SKIP][9] ([fdo#109271] / [i915#3886]) +1 similar issue [9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-apl4/igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_gen12_mc_ccs.html * igt@kms_ccs@pipe-c-crc-primary-rotation-180-4_tiled_mtl_mc_ccs: - shard-snb: NOTRUN -> [SKIP][10] ([fdo#109271]) +28 similar issues [10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-snb2/igt@kms_ccs@pipe-c-crc-primary-rotation-180-4_tiled_mtl_mc_ccs.html * igt@kms_ccs@pipe-d-bad-pixel-format-y_tiled_gen12_mc_ccs: - shard-apl: NOTRUN -> [SKIP][11] ([fdo#109271]) +54 similar issues [11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-apl4/igt@kms_ccs@pipe-d-bad-pixel-format-y_tiled_gen12_mc_ccs.html * igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size: - shard-glk: NOTRUN -> [FAIL][12] ([i915#2346]) [12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-glk5/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html * igt@kms_fbcon_fbt@fbc-suspend: - shard-apl: [PASS][13] -> [FAIL][14] ([i915#4767]) [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13262/shard-apl2/igt@kms_fbcon_fbt@fbc-suspend.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-apl1/igt@kms_fbcon_fbt@fbc-suspend.html * igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-valid-mode: - shard-glk: NOTRUN -> [SKIP][15] ([fdo#109271] / [i915#4579]) [15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-glk5/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-valid-mode.html * igt@kms_plane_scaling@plane-downscale-with-modifiers-factor-0-5@pipe-b-vga-1: - shard-snb: NOTRUN -> [SKIP][16] ([fdo#109271] / [i915#4579]) +10 similar issues [16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-snb2/igt@kms_plane_scaling@plane-downscale-with-modifiers-factor-0-5@pipe-b-vga-1.html * igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area: - shard-apl: NOTRUN -> [SKIP][17] ([fdo#109271] / [i915#658]) +1 similar issue [17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-apl4/igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area.html * igt@kms_setmode@clone-exclusive-crtc: - shard-apl: NOTRUN -> [SKIP][18] ([fdo#109271] / [i915#4579]) +3 similar issues [18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-apl4/igt@kms_setmode@clone-exclusive-crtc.html * igt@vc4/vc4_lookup_fail@bad-color-write: - shard-glk: NOTRUN -> [SKIP][19] ([fdo#109271]) +46 similar issues [19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-glk5/igt@vc4/vc4_lookup_fail@bad-color-write.html #### Possible fixes #### * igt@gem_barrier_race@remote-request@rcs0: - {shard-dg1}: [ABORT][20] ([i915#7461] / [i915#8234]) -> [PASS][21] [20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13262/shard-dg1-19/igt@gem_barrier_race@remote-request@rcs0.html [21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-dg1-15/igt@gem_barrier_race@remote-request@rcs0.html * igt@gem_ctx_exec@basic-nohangcheck: - {shard-tglu}: [FAIL][22] ([i915#6268]) -> [PASS][23] [22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13262/shard-tglu-2/igt@gem_ctx_exec@basic-nohangcheck.html [23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-tglu-2/igt@gem_ctx_exec@basic-nohangcheck.html * igt@gem_exec_fair@basic-none-share@rcs0: - {shard-rkl}: [FAIL][24] ([i915#2842]) -> [PASS][25] [24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13262/shard-rkl-7/igt@gem_exec_fair@basic-none-share@rcs0.html [25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-rkl-1/igt@gem_exec_fair@basic-none-share@rcs0.html * igt@gem_exec_fair@basic-none-solo@rcs0: - shard-apl: [FAIL][26] ([i915#2842]) -> [PASS][27] [26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13262/shard-apl6/igt@gem_exec_fair@basic-none-solo@rcs0.html [27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-apl6/igt@gem_exec_fair@basic-none-solo@rcs0.html * igt@gem_exec_fair@basic-pace-share@rcs0: - shard-glk: [FAIL][28] ([i915#2842]) -> [PASS][29] [28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13262/shard-glk4/igt@gem_exec_fair@basic-pace-share@rcs0.html [29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-glk3/igt@gem_exec_fair@basic-pace-share@rcs0.html * igt@gem_lmem_swapping@smem-oom@lmem0: - {shard-dg1}: [TIMEOUT][30] ([i915#5493]) -> [PASS][31] [30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13262/shard-dg1-17/igt@gem_lmem_swapping@smem-oom@lmem0.html [31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-dg1-16/igt@gem_lmem_swapping@smem-oom@lmem0.html * igt@gem_mmap_offset@clear@smem0: - {shard-dg1}: [DMESG-WARN][32] ([i915#8304]) -> [PASS][33] [32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13262/shard-dg1-16/igt@gem_mmap_offset@clear@smem0.html [33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-dg1-17/igt@gem_mmap_offset@clear@smem0.html * igt@i915_pm_rc6_residency@rc6-idle@bcs0: - {shard-dg1}: [FAIL][34] ([i915#3591]) -> [PASS][35] +1 similar issue [34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13262/shard-dg1-15/igt@i915_pm_rc6_residency@rc6-idle@bcs0.html [35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-dg1-16/igt@i915_pm_rc6_residency@rc6-idle@bcs0.html * igt@i915_pm_rpm@dpms-mode-unset-non-lpsp: - {shard-rkl}: [SKIP][36] ([i915#1397]) -> [PASS][37] +1 similar issue [36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13262/shard-rkl-7/igt@i915_pm_rpm@dpms-mode-unset-non-lpsp.html [37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-rkl-4/igt@i915_pm_rpm@dpms-mode-unset-non-lpsp.html * igt@i915_pm_rpm@modeset-non-lpsp-stress: - {shard-dg1}: [SKIP][38] ([i915#1397]) -> [PASS][39] +2 similar issues [38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13262/shard-dg1-19/igt@i915_pm_rpm@modeset-non-lpsp-stress.html [39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-dg1-12/igt@i915_pm_rpm@modeset-non-lpsp-stress.html * igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions: - shard-glk: [FAIL][40] ([i915#2346]) -> [PASS][41] [40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13262/shard-glk2/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html [41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-glk9/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html * igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size: - shard-apl: [FAIL][42] ([i915#2346]) -> [PASS][43] [42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13262/shard-apl2/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html [43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-apl1/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html * igt@kms_cursor_legacy@single-move@pipe-b: - {shard-rkl}: [INCOMPLETE][44] ([i915#8011]) -> [PASS][45] [44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13262/shard-rkl-7/igt@kms_cursor_legacy@single-move@pipe-b.html [45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-rkl-1/igt@kms_cursor_legacy@single-move@pipe-b.html * igt@kms_vblank@pipe-d-ts-continuation-suspend: - {shard-dg1}: [FAIL][46] ([fdo#103375]) -> [PASS][47] +2 similar issues [46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13262/shard-dg1-12/igt@kms_vblank@pipe-d-ts-continuation-suspend.html [47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/shard-dg1-12/igt@kms_vblank@pipe-d-ts-continuation-suspend.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375 [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271 [fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189 [fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825 [fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827 [i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072 [i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397 [i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190 [i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346 [i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527 [i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575 [i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587 [i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672 [i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842 [i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281 [i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458 [i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555 [i915#3591]: https://gitlab.freedesktop.org/drm/intel/issues/3591 [i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638 [i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689 [i915#3743]: https://gitlab.freedesktop.org/drm/intel/issues/3743 [i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886 [i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955 [i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077 [i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078 [i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083 [i915#4215]: https://gitlab.freedesktop.org/drm/intel/issues/4215 [i915#4391]: https://gitlab.freedesktop.org/drm/intel/issues/4391 [i915#4423]: https://gitlab.freedesktop.org/drm/intel/issues/4423 [i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538 [i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579 [i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613 [i915#4767]: https://gitlab.freedesktop.org/drm/intel/issues/4767 [i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833 [i915#5161]: https://gitlab.freedesktop.org/drm/intel/issues/5161 [i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176 [i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235 [i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354 [i915#5493]: https://gitlab.freedesktop.org/drm/intel/issues/5493 [i915#5566]: https://gitlab.freedesktop.org/drm/intel/issues/5566 [i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095 [i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268 [i915#6334]: https://gitlab.freedesktop.org/drm/intel/issues/6334 [i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658 [i915#7461]: https://gitlab.freedesktop.org/drm/intel/issues/7461 [i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828 [i915#8011]: https://gitlab.freedesktop.org/drm/intel/issues/8011 [i915#8211]: https://gitlab.freedesktop.org/drm/intel/issues/8211 [i915#8234]: https://gitlab.freedesktop.org/drm/intel/issues/8234 [i915#8304]: https://gitlab.freedesktop.org/drm/intel/issues/8304 [i915#8347]: https://gitlab.freedesktop.org/drm/intel/issues/8347 [i915#8414]: https://gitlab.freedesktop.org/drm/intel/issues/8414 Build changes ------------- * Linux: CI_DRM_13262 -> Patchwork_119197v1 CI-20190529: 20190529 CI_DRM_13262: 26f62dc5b6119b2fcc3380b76e25dbe3903060a0 @ git://anongit.freedesktop.org/gfx-ci/linux IGT_7326: 02c2cf17628b6203d6105d4a91dfe8a101d482ce @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git Patchwork_119197v1: 26f62dc5b6119b2fcc3380b76e25dbe3903060a0 @ git://anongit.freedesktop.org/gfx-ci/linux piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119197v1/index.html [-- Attachment #2: Type: text/html, Size: 15407 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Intel-gfx] [PATCH] drm/i915/gmch: avoid unused variable warning 2023-06-12 12:43 [Intel-gfx] [PATCH] drm/i915/gmch: avoid unused variable warning Arnd Bergmann ` (3 preceding siblings ...) 2023-06-12 21:11 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork @ 2023-06-12 23:03 ` Andi Shyti 4 siblings, 0 replies; 6+ messages in thread From: Andi Shyti @ 2023-06-12 23:03 UTC (permalink / raw) To: Arnd Bergmann Cc: Arnd Bergmann, intel-gfx, linux-kernel, dri-devel, Daniel Vetter, Rodrigo Vivi, David Airlie Hi Arnd, On Mon, Jun 12, 2023 at 02:43:59PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann <arnd@arndb.de> > > When CONFIG_PNP is disabled, the mchbar_addr variable is only written but > not read: > > drivers/gpu/drm/i915/soc/intel_gmch.c: In function 'intel_alloc_mchbar_resource': > drivers/gpu/drm/i915/soc/intel_gmch.c:41:13: error: variable 'mchbar_addr' set but not used [-Werror=unused-but-set-variable] > 41 | u64 mchbar_addr; > | ^~~~~~~~~~~ > > No idea why this showed up now, but it's easy to fix by changing the #ifdef to > an IS_ENABLED() check that the compiler can see through. > > Signed-off-by: Arnd Bergmann <arnd@arndb.de> applied to drm-intel-next. Thank you, Andi ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-06-12 23:04 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-06-12 12:43 [Intel-gfx] [PATCH] drm/i915/gmch: avoid unused variable warning Arnd Bergmann 2023-06-12 13:35 ` Andi Shyti 2023-06-12 13:53 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for " Patchwork 2023-06-12 14:07 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork 2023-06-12 21:11 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork 2023-06-12 23:03 ` [Intel-gfx] [PATCH] " Andi Shyti
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox