drm/i915/guc: Drop comment on fwif autogeneration
Subsystems (2)
PATCH 1/1 drm/i915/guc: Drop comment on fwif autogeneration
The firmware interface file was initially partially autogenerated, but this is no longer the case.
It was never updated automatically, and a lot manual changes were introduced since.
From now on any changes to the firmware interface will be managed by hand, which gives us flexibility when it comes to structure reuse (HuC/GuC) and naming conventions.
--- drivers/gpu/drm/i915/intel_guc_fwif.h | 9 --------- 1 file changed, 9 deletions(-)
drivers/gpu/drm/i915/intel_guc_fwif.h +0 -9
@@ -23,15 +23,6 @@#ifndef _INTEL_GUC_FWIF_H#define _INTEL_GUC_FWIF_H -/* -* This file is partially autogenerated, although currently with some manual -* fixups afterwards. In future, it should be entirely autogenerated, in order -* to ensure that the definitions herein remain in sync with those used by the -* GuC's own firmware. -* -* EDITING THIS FILE IS THEREFORE NOT RECOMMENDED - YOUR CHANGES MAY BE LOST. -*/ -#define GFXCORE_FAMILY_GEN9 12#define GFXCORE_FAMILY_UNKNOWN 0x7fffffff
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.BAT: warning for drm/i915/guc: Drop comment on fwif autogeneration
== Series Details ==
== Series Details ==
Series: drm/i915/guc: Drop comment on fwif autogeneration
URL : https://patchwork.freedesktop.org/series/16373/
State : warning
== Summary ==
Series 16373v1 drm/i915/guc: Drop comment on fwif autogeneration
https://patchwork.freedesktop.org/api/1.0/series/16373/revisions/1/mbox/
Test gem_busy:
Subgroup basic-hang-default:
fail -> PASS (fi-hsw-4770r)
Test kms_pipe_crc_basic:
Subgroup suspend-read-crc-pipe-a:
pass -> DMESG-WARN (fi-skl-6770hq)fi-bdw-5557u total:247 pass:232 dwarn:0 dfail:0 fail:0 skip:15 fi-bsw-n3050 total:247 pass:207 dwarn:0 dfail:0 fail:0 skip:40 fi-byt-j1900 total:247 pass:219 dwarn:0 dfail:0 fail:0 skip:28 fi-byt-n2820 total:247 pass:215 dwarn:0 dfail:0 fail:0 skip:32 fi-hsw-4770 total:247 pass:227 dwarn:0 dfail:0 fail:0 skip:20 fi-hsw-4770r total:247 pass:227 dwarn:0 dfail:0 fail:0 skip:20 fi-ilk-650 total:247 pass:194 dwarn:0 dfail:0 fail:0 skip:53 fi-ivb-3520m total:247 pass:225 dwarn:0 dfail:0 fail:0 skip:22 fi-ivb-3770 total:247 pass:225 dwarn:0 dfail:0 fail:0 skip:22 fi-kbl-7500u total:247 pass:225 dwarn:0 dfail:0 fail:0 skip:22 fi-skl-6260u total:247 pass:233 dwarn:0 dfail:0 fail:0 skip:14 fi-skl-6700hq total:247 pass:226 dwarn:0 dfail:0 fail:0 skip:21 fi-skl-6770hq total:247 pass:232 dwarn:1 dfail:0 fail:0 skip:14 fi-snb-2520m total:247 pass:215 dwarn:0 dfail:0 fail:0 skip:32 fi-snb-2600 total:247 pass:214 dwarn:0 dfail:0 fail:0 skip:33
a947529bb652fdcf50e8c0e8ee5102b737bae23e drm-tip: 2016y-12m-05d-14h-27m-06s UTC integration manifest abb5dbd drm/i915/guc: Drop comment on fwif autogeneration
== Logs ==
For more details see: https://intel-gfx-ci.01.org/CI/Patchwork_3196/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: ✗ Fi.CI.BAT: warning for drm/i915/guc: Drop comment on fwif autogeneration
Quoted 6 lines · Patchwork
== Series Details ==
Series: drm/i915/guc: Drop comment on fwif autogeneration
URL : https://patchwork.freedesktop.org/series/16373/
State : warning
Quoted 8 lines
== Summary ==
Series 16373v1 drm/i915/guc: Drop comment on fwif autogeneration
https://patchwork.freedesktop.org/api/1.0/series/16373/revisions/1/mbox/Test
gem_busy:Subgroup basic-hang-default: fail -> PASS (fi-hsw-4770r)
The cange is only a comment removal. Could not affect the pass.
Quoted 4 lines
Test
kms_pipe_crc_basic:Subgroup suspend-read-crc-pipe-a: pass -> DMESG-WARN (fi-skl-6770hq)
[ 408.780897] [drm:skl_set_cdclk [i915]] *ERROR* failed to inform PCU about cdclk change
https://bugs.freedesktop.org/show_bug.cgi?id=97929
Quoted 7 lines
a947529bb652fdcf50e8c0e8ee5102b737bae23edrm-tip: 2016y-12m-05d-14h-27m-06s UTC integration manifest abb5dbd drm/i915/guc: Drop comment on fwif autogeneration== Logs ==
For more details see: https://intel-gfx-ci.01.org/CI/Patchwork_3196/
Signature · 6 lines
Cheers, Arek _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Tvrtko Ursulin
AppliedRe: ✗ Fi.CI.BAT: warning for drm/i915/guc: Drop comment on fwif autogeneration
Quoted 18 lines · Arkadiusz Hiler
Quoted 6 lines · Patchwork
== Series Details ==
Series: drm/i915/guc: Drop comment on fwif autogeneration
URL : https://patchwork.freedesktop.org/series/16373/
State : warningQuoted 8 lines
== Summary ==
Series 16373v1 drm/i915/guc: Drop comment on fwif autogeneration
https://patchwork.freedesktop.org/api/1.0/series/16373/revisions/1/mbox/Test
gem_busy:Subgroup basic-hang-default: fail -> PASS (fi-hsw-4770r)The cange is only a comment removal. Could not affect the pass.
Quoted 12 lines
Quoted 4 lines
Test
kms_pipe_crc_basic:Subgroup suspend-read-crc-pipe-a: pass -> DMESG-WARN (fi-skl-6770hq)[ 408.780897] [drm:skl_set_cdclk [i915]] *ERROR* failed to inform PCU about cdclk changehttps://bugs.freedesktop.org/show_bug.cgi?id=97929
Quoted 3 lines
a947529bb652fdcf50e8c0e8ee5102b737bae23edrm-tip: 2016y-12m-05d-14h-27m-06s UTC integration manifest abb5dbd drm/i915/guc: Drop comment on fwif autogeneration
Pushed to dinq, thanks for the patch and review!
Regards,
Tvrtko
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 41 lines · Arkadiusz Hiler
The firmware interface file was initially partially autogenerated, but this is no longer the case.
It was never updated automatically, and a lot manual changes were introduced since.
From now on any changes to the firmware interface will be managed by hand, which gives us flexibility when it comes to structure reuse (HuC/GuC) and naming conventions.
Cc Anusha Srivatsa <[email protected]>Cc Jeff Mcgee <[email protected]>Cc Sagar A. Kamble <[email protected]>Signed-off-by Arkadiusz Hiler <[email protected]>--- drivers/gpu/drm/i915/intel_guc_fwif.h | 9 --------- 1 file changed, 9 deletions(-)drivers/gpu/drm/i915/intel_guc_fwif.h +0
-9@@ -23,15 +23,6 @@#ifndef _INTEL_GUC_FWIF_H#define _INTEL_GUC_FWIF_H -/* -* This file is partially autogenerated, although currently with some manual -* fixups afterwards. In future, it should be entirely autogenerated, in order -* to ensure that the definitions herein remain in sync with those used by the -* GuC's own firmware. -* -* EDITING THIS FILE IS THEREFORE NOT RECOMMENDED - YOUR CHANGES MAY BE LOST. -*/ -#define GFXCORE_FAMILY_GEN9 12#define GFXCORE_FAMILY_UNKNOWN 0x7fffffffSignature · 1 line
2.7.4
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 44 lines
-----Original Message-----
From: Hiler, Arkadiusz
Sent: Monday, December 5, 2016 8:04 AM
To: [email protected]
Cc: Srivatsa, Anusha <[email protected]>; Mcgee, Jeff <[email protected]>; Kamble, Sagar A <[email protected]>
Subject: [PATCH] drm/i915/guc: Drop comment on fwif autogenerationThe firmware interface file was initially partially autogenerated, but this is no longer the case.
It was never updated automatically, and a lot manual changes were introduced since.
From now on any changes to the firmware interface will be managed by hand, which gives us flexibility when it comes to structure reuse (HuC/GuC) and naming conventions.
Cc Anusha Srivatsa <[email protected]>Cc Jeff Mcgee <[email protected]>Cc Sagar A. Kamble <[email protected]>Signed-off-by Arkadiusz Hiler <[email protected]>---
drivers/gpu/drm/i915/intel_guc_fwif.h| 9 ---------1 file changed, 9 deletions(-)drivers/gpu/drm/i915/intel_guc_fwif.h +0
-7@@ -23,15 +23,6 @@#ifndef _INTEL_GUC_FWIF_H#define _INTEL_GUC_FWIF_H -/* -* This file is partially autogenerated, although currently with some manual -* fixups afterwards. In future, it should be entirely autogenerated, in order -* to ensure that the definitions herein remain in sync with those used by the -* GuC's own firmware. -* -* EDITING THIS FILE IS THEREFORE NOT RECOMMENDED - YOUR CHANGES
Quoted 2 lines
MAY BE LOST.
- */
With this removal of comment, do you feel moving the contents of intel_guc_fwif.h to intel_uc.c or renaming the file to intel_uc_fwif.h makes a lot of difference?
Cheers,
Anusha
Quoted 5 lines
#define
GFXCORE_FAMILY_GEN912
#defineGFXCORE_FAMILY_UNKNOWN0x7fffffff--
2.7.4
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 35 lines · Anusha
Quoted 35 lines
-----Original Message-----
From: Hiler, Arkadiusz
Sent: Monday, December 5, 2016 8:04 AM
To: [email protected]
Cc: Srivatsa, Anusha <[email protected]>; Mcgee, Jeff <[email protected]>; Kamble, Sagar A <[email protected]>
Subject: [PATCH] drm/i915/guc: Drop comment on fwif autogenerationThe firmware interface file was initially partially autogenerated, but this is no longer the case.
It was never updated automatically, and a lot manual changes were introduced since.
From now on any changes to the firmware interface will be managed by hand, which gives us flexibility when it comes to structure reuse (HuC/GuC) and naming conventions.
Cc Anusha Srivatsa <[email protected]>Cc Jeff Mcgee <[email protected]>Cc Sagar A. Kamble <[email protected]>Signed-off-by Arkadiusz Hiler <[email protected]>---
drivers/gpu/drm/i915/intel_guc_fwif.h| 9 ---------1 file changed, 9 deletions(-)drivers/gpu/drm/i915/intel_guc_fwif.h +0
-0@@ -23,15 +23,6 @@#ifndef _INTEL_GUC_FWIF_H#define _INTEL_GUC_FWIF_H
Quoted 11 lines
Quoted 9 lines
drivers/gpu/drm/i915/intel_guc_fwif.h +0
-7-/* -* This file is partially autogenerated, although currently with some manual -* fixups afterwards. In future, it should be entirely autogenerated, in order -* to ensure that the definitions herein remain in sync with those used by the -* GuC's own firmware. -* -* EDITING THIS FILE IS THEREFORE NOT RECOMMENDED - YOUR CHANGES MAY BE LOST.
- */With this removal of comment, do you feel moving the contents of
intel_guc_fwif.htointel_uc.cor renaming the file tointel_uc_fwif.hmakes a lot of difference?
I think this area could use some reorganization, but we should give it more thought before we do anything.
Keeping all the GuC-related defines/structs that are used to communicate with FW and are prone to change in a separate file seems like a good idea.
This would make them easier to manage in cases of any turbulence.
I agree that intel_uc_fwif.h would be a good name, as your HuC patchset is reusing some of the intrfaces (e.g. css headers) for HuC.
The rename can be done as part of the HuC effort. I'll give it some more thought today and send you a RFC version of the reorg to include in your patchset.
Signature · 6 lines
Cheers, Arek _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 70 lines
-----Original Message-----
From: Hiler, Arkadiusz
Sent: Monday, December 5, 2016 9:37 PM
To: Srivatsa, Anusha <[email protected]>
Cc: [email protected]; Mcgee, Jeff <[email protected]>; Kamble, Sagar A <[email protected]>
Subject: Re: [PATCH] drm/i915/guc: Drop comment on fwif autogenerationQuoted 35 lines · Anusha
Quoted 35 lines
-----Original Message-----
From: Hiler, Arkadiusz
Sent: Monday, December 5, 2016 8:04 AM
To: [email protected]
Cc: Srivatsa, Anusha <[email protected]>; Mcgee, Jeff <[email protected]>; Kamble, Sagar A <[email protected]>
Subject: [PATCH] drm/i915/guc: Drop comment on fwif autogenerationThe firmware interface file was initially partially autogenerated, but this is no longer the case.
It was never updated automatically, and a lot manual changes were introduced since.
From now on any changes to the firmware interface will be managed by hand, which gives us flexibility when it comes to structure reuse (HuC/GuC) and naming conventions.
Cc Anusha Srivatsa <[email protected]>Cc Jeff Mcgee <[email protected]>Cc Sagar A. Kamble <[email protected]>Signed-off-by Arkadiusz Hiler <[email protected]>---
drivers/gpu/drm/i915/intel_guc_fwif.h| 9 ---------1 file changed, 9 deletions(-)drivers/gpu/drm/i915/intel_guc_fwif.h +0
-0@@ -23,15 +23,6 @@#ifndef _INTEL_GUC_FWIF_H#define _INTEL_GUC_FWIF_HQuoted 10 lines
Quoted 10 lines
drivers/gpu/drm/i915/intel_guc_fwif.h +0
-2-/* -* This file is partially autogenerated, although currently with some manual
- * fixups afterwards. In future, it should be entirely autogenerated, in order
- * to ensure that the definitions herein remain in sync with those used by the
- * GuC's own firmware.
- *
- * EDITING THIS FILE IS THEREFORE NOT RECOMMENDED - YOUR CHANGESMAY
Quoted 4 lines
Quoted 2 lines
BE LOST.
- */With this removal of comment, do you feel moving the contents of
intel_guc_fwif.htointel_uc.cor renaming the file tointel_uc_fwif.hmakes a lot of difference?I think this area could use some reorganization, but we should give it more thought before we do anything.
Keeping all the GuC-related defines/structs that are used to communicate with FW and are prone to change in a separate file seems like a good idea.
Quoted 8 lines
This would make them easier to manage in cases of any turbulence.
I agree that
intel_uc_fwif.hwould be a good name, as your HuC patchset is reusing some of the intrfaces (e.g. css headers) for HuC.The rename can be done as part of the HuC effort. I'll give it some more thought today and send you a RFC version of the reorg to include in your patchset.
Sure. Thanks!
Anusha
Quoted 2 lines
Cheers,
Arek
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx