Skip to contentSkip to conversation

drm/i915/hwconfig: Remove comment block

PATCH In review Jiapeng Chong 3 participants 3 messages Dec 13, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 drm/i915/hwconfig: Remove comment block

No functional modification involved.

drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c:112: warning: expecting prototype for intel_guc_hwconfig_init(). Prototype was for guc_hwconfig_init() instead.

---
Changes in v2:
-Remove the comment block.

 drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c | 6 ------
 1 file changed, 6 deletions(-)
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c +0 -6
index 4781fccc2687..5559d39881ee 100644
@@ -102,12 +102,6 @@ static bool has_table(struct drm_i915_private *i915)
 	return false;
 }
 
-/**
- * intel_guc_hwconfig_init - Initialize the HWConfig
- *
- * Retrieve the HWConfig table from the GuC and save it locally.
- * It can then be queried on demand by other users later on.
- */
 static int guc_hwconfig_init(struct intel_gt *gt)
 {
 	struct intel_hwconfig *hwconfig = &gt->info.hwconfig;
Signature · 1 line
2.20.1.7.g153144c
#1 lore raw

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/hwconfig: Remove comment block

== Series Details ==

== Series Details ==

Series: drm/i915/hwconfig: Remove comment block
URL : https://patchwork.freedesktop.org/series/111879/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_12498 -> Patchwork_111879v1
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with Patchwork_111879v1 absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in Patchwork_111879v1, 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_111879v1/index.html

Participating hosts (39 -> 19)
------------------------------

ERROR: It appears as if the changes made in Patchwork_111879v1 prevented too many machines from booting.

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_111879v1 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@kms_chamelium@common-hpd-after-suspend:
- fi-hsw-4770: NOTRUN -> [SKIP][1] ([fdo#109271] / [fdo#111827])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111879v1/fi-hsw-4770/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions:
- fi-bsw-kefka: [PASS][2] -> [FAIL][3] ([i915#6298])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12498/fi-bsw-kefka/igt@kms_cursor_legacy@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111879v1/fi-bsw-kefka/igt@kms_cursor_legacy@[email protected]

#### Possible fixes ####

* igt@gem_exec_gttfill@basic:
- fi-pnv-d510: [FAIL][4] ([i915#7229]) -> [PASS][5]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12498/fi-pnv-d510/igt@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111879v1/fi-pnv-d510/igt@[email protected]

* igt@i915_selftest@live@hangcheck:
- fi-hsw-4770: [INCOMPLETE][6] ([i915#4785]) -> [PASS][7]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12498/fi-hsw-4770/igt@i915_selftest@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111879v1/fi-hsw-4770/igt@i915_selftest@[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#4785]: https://gitlab.freedesktop.org/drm/intel/issues/4785
[i915#6298]: https://gitlab.freedesktop.org/drm/intel/issues/6298
[i915#7229]: https://gitlab.freedesktop.org/drm/intel/issues/7229

Build changes
-------------

* Linux: CI_DRM_12498 -> Patchwork_111879v1

CI-20190529: 20190529
CI_DRM_12498: 76c062e92f2d28ab3d6a1b122cae8931e55b4fd9 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7091: b8015f920c9f469d3733854263cb878373c1df51 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_111879v1: 76c062e92f2d28ab3d6a1b122cae8931e55b4fd9 @ git://anongit.freedesktop.org/gfx-ci/linux

### Linux commits

e269df174043 drm/i915/hwconfig: Remove comment block

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_111879v1/index.html

maintainer
#2 lore raw
In reply to Jiapeng Chong
Quoted 5 lines · Jiapeng Chong

No functional modification involved.

drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c:112: warning:
expecting prototype for intel_guc_hwconfig_init(). Prototype was for guc_hwconfig_init() instead.

Thank you for the patch and for addressing the comment. But now the commit message is not explaining what's really going on.

Could you please improve the message saying that the function has changed to static and we don't need doc comment in the static functions, etc?!

Also, while doing this, please find a better commit message. This is way to generic. Something like
drm/i915: Remove unnecessary doc from static hwconfig_init sounds better and easier to understand from a log --oneline.

Oh, and it also looks this patch deserves a "Fixes:" tag, pointing to the patch that created the mess. Either the original patch if it already introduced like this, or to the patch that transformed this function in static. git blame to find the culprit out.

With the commit msg fixed as above I will add my rv-b while merging it.

Quoted 30 lines

---
Changes in v2:
  -Remove the comment block.

 drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c | 6 ------

 1 file changed, 6 deletions(-)
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c +0 -0
index 4781fccc2687..5559d39881ee 100644
@@ -102,12 +102,6 @@ static bool has_table(struct drm_i915_private
 *i915)
         return false;
  }


-/**
- * intel_guc_hwconfig_init - Initialize the HWConfig
- *
- * Retrieve the HWConfig table from the GuC and save it locally.
- * It can then be queried on demand by other users later on.
- */
 static int guc_hwconfig_init(struct intel_gt *gt)
 {
        struct intel_hwconfig *hwconfig = &gt->info.hwconfig;