drm/i915/guc: Handle GuC log flush event in dedicated function
Subsystems (2)
PATCH v2 1/1 drm/i915/guc: Handle GuC log flush event in dedicated function
We already try to keep all GuC log related code in separate file, handling flush event should be placed there too. This will also allow future code reuse.
v2: rebased
--- drivers/gpu/drm/i915/intel_guc.c | 3 +-- drivers/gpu/drm/i915/intel_guc_log.c | 5 +++++ drivers/gpu/drm/i915/intel_guc_log.h | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/intel_guc.c +1 -2
@@ -398,8 +398,7 @@ void intel_guc_to_host_event_handler(struct intel_guc *guc)if (msg & (INTEL_GUC_RECV_MSG_FLUSH_LOG_BUFFER |INTEL_GUC_RECV_MSG_CRASH_DUMP_POSTED )) -queue_work (guc->log.relay.flush_wq, - &guc->log.relay.flush_work); +intel_guc_log_handle_flush_event (&guc->log); }int intel_guc_sample_forcewake (struct intel_guc *guc)
drivers/gpu/drm/i915/intel_guc_log.c +5 -0
@@ -629,3 +629,8 @@ void intel_guc_log_relay_close(struct intel_guc_log *log)guc_log_relay_destroy (log);mutex_unlock (&log->relay.lock); } + +void intel_guc_log_handle_flush_event (struct intel_guc_log *log) +{ +queue_work (log->relay.flush_wq, &log->relay.flush_work); +}
drivers/gpu/drm/i915/intel_guc_log.h +2 -0
@@ -85,4 +85,6 @@ struct intel_guc_log {void intel_guc_log_relay_flush (struct intel_guc_log *log);void intel_guc_log_relay_close (struct intel_guc_log *log); +void intel_guc_log_handle_flush_event (struct intel_guc_log *log); +#endif
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for drm/i915/guc: Handle GuC log flush event in dedicated function
== Series Details ==
== Series Details ==
Series: drm/i915/guc: Handle GuC log flush event in dedicated function
URL : https://patchwork.freedesktop.org/series/40183/
State : success
== Summary ==
Series 40183v1 drm/i915/guc: Handle GuC log flush event in dedicated function
https://patchwork.freedesktop.org/api/1.0/series/40183/revisions/1/mbox/
fi-bdw-5557u total:285 pass:264 dwarn:0 dfail:0 fail:0 skip:21 time:433s fi-bdw-gvtdvm total:285 pass:261 dwarn:0 dfail:0 fail:0 skip:24 time:439s fi-blb-e6850 total:285 pass:220 dwarn:1 dfail:0 fail:0 skip:64 time:379s fi-bsw-n3050 total:285 pass:239 dwarn:0 dfail:0 fail:0 skip:46 time:537s fi-bwr-2160 total:285 pass:180 dwarn:0 dfail:0 fail:0 skip:105 time:300s fi-bxt-dsi total:285 pass:255 dwarn:0 dfail:0 fail:0 skip:30 time:510s fi-bxt-j4205 total:285 pass:256 dwarn:0 dfail:0 fail:0 skip:29 time:507s fi-byt-j1900 total:285 pass:250 dwarn:0 dfail:0 fail:0 skip:35 time:515s fi-byt-n2820 total:285 pass:246 dwarn:0 dfail:0 fail:0 skip:39 time:501s fi-cfl-8700k total:285 pass:257 dwarn:0 dfail:0 fail:0 skip:28 time:409s fi-cfl-s2 total:285 pass:259 dwarn:0 dfail:0 fail:0 skip:26 time:589s fi-cfl-u total:285 pass:259 dwarn:0 dfail:0 fail:0 skip:26 time:512s fi-cnl-drrs total:285 pass:254 dwarn:3 dfail:0 fail:0 skip:28 time:513s fi-elk-e7500 total:285 pass:225 dwarn:1 dfail:0 fail:0 skip:59 time:428s fi-gdg-551 total:285 pass:176 dwarn:0 dfail:0 fail:1 skip:108 time:317s fi-glk-1 total:285 pass:257 dwarn:0 dfail:0 fail:0 skip:28 time:538s fi-hsw-4770 total:285 pass:258 dwarn:0 dfail:0 fail:0 skip:27 time:403s fi-ilk-650 total:285 pass:225 dwarn:0 dfail:0 fail:0 skip:60 time:420s fi-ivb-3520m total:285 pass:256 dwarn:0 dfail:0 fail:0 skip:29 time:469s fi-ivb-3770 total:285 pass:252 dwarn:0 dfail:0 fail:0 skip:33 time:426s fi-kbl-7500u total:285 pass:260 dwarn:1 dfail:0 fail:0 skip:24 time:471s fi-kbl-7567u total:285 pass:265 dwarn:0 dfail:0 fail:0 skip:20 time:467s fi-kbl-r total:285 pass:258 dwarn:0 dfail:0 fail:0 skip:27 time:513s fi-pnv-d510 total:285 pass:219 dwarn:1 dfail:0 fail:0 skip:65 time:656s fi-skl-6260u total:285 pass:265 dwarn:0 dfail:0 fail:0 skip:20 time:445s fi-skl-6600u total:285 pass:258 dwarn:0 dfail:0 fail:0 skip:27 time:542s fi-skl-6700hq total:285 pass:259 dwarn:0 dfail:0 fail:0 skip:26 time:539s fi-skl-6700k2 total:285 pass:261 dwarn:0 dfail:0 fail:0 skip:24 time:505s fi-skl-6770hq total:285 pass:265 dwarn:0 dfail:0 fail:0 skip:20 time:487s fi-skl-guc total:285 pass:257 dwarn:0 dfail:0 fail:0 skip:28 time:430s fi-skl-gvtdvm total:285 pass:262 dwarn:0 dfail:0 fail:0 skip:23 time:443s fi-snb-2520m total:285 pass:245 dwarn:0 dfail:0 fail:0 skip:40 time:563s fi-snb-2600 total:285 pass:245 dwarn:0 dfail:0 fail:0 skip:40 time:400s
9b79492f331e36cf2e08d65ab3221abb66f67844 drm-tip: 2018y-03m-19d-14h-18m-12s UTC integration manifest c8eebcbcc938 drm/i915/guc: Handle GuC log flush event in dedicated function
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_8392/issues.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.IGT: warning for drm/i915/guc: Handle GuC log flush event in dedicated function
In reply to Michal Wajdeczko== Series Details ==
== Series Details ==
Series: drm/i915/guc: Handle GuC log flush event in dedicated function
URL : https://patchwork.freedesktop.org/series/40183/
State : warning
== Summary ==
---- Possible new issues:
Test kms_atomic_transition:
Subgroup plane-all-modeset-transition:
pass -> SKIP (shard-snb)
Test kms_properties:
Subgroup crtc-properties-legacy:
pass -> SKIP (shard-snb)
Test kms_vblank:
Subgroup pipe-b-query-forked-busy:
pass -> SKIP (shard-snb)---- Known issues:
Test kms_flip:
Subgroup dpms-vs-vblank-race:
fail -> PASS (shard-hsw) fdo#103060
Subgroup plain-flip-fb-recreate:
pass -> FAIL (shard-hsw) fdo#100368
Test kms_frontbuffer_tracking:
Subgroup fbc-1p-offscren-pri-shrfb-draw-render:
pass -> SKIP (shard-snb) fdo#101623 +1fdo#103060 https://bugs.freedesktop.org/show_bug.cgi?id=103060
fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368
fdo#101623 https://bugs.freedesktop.org/show_bug.cgi?id=101623
shard-apl total:3442 pass:1814 dwarn:1 dfail:0 fail:7 skip:1619 time:13020s shard-hsw total:3442 pass:1767 dwarn:1 dfail:0 fail:2 skip:1671 time:11869s shard-snb total:3442 pass:1353 dwarn:1 dfail:0 fail:2 skip:2086 time:7228s
Blacklisted hosts:
shard-kbl total:3442 pass:1897 dwarn:42 dfail:0 fail:9 skip:1494 time:9925s
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_8392/shards.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 11 lines · Michal Wajdeczko
We already try to keep all GuC log related code in separate file, handling flush event should be placed there too. This will also allow future code reuse.
v2: rebased
Signed-off-by Michal Wajdeczko <[email protected]>Cc Michal Winiarski <[email protected]>Cc Sagar Arun Kamble <[email protected]>Cc Chris Wilson <[email protected]>Cc Oscar Mateo <[email protected]>
-Michał
Quoted 5 lines
--- drivers/gpu/drm/i915/intel_guc.c | 3 +-- drivers/gpu/drm/i915/intel_guc_log.c | 5 +++++ drivers/gpu/drm/i915/intel_guc_log.h | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-)
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoting Michał Winiarski (2018-03-20 18:56:59)
Quoted 7 lines · Michal Wajdeczko
Quoted 6 lines
We already try to keep all GuC log related code in separate file, handling flush event should be placed there too. This will also allow future code reuse.
v2: rebased
Quoted 7 lines
Quoted 5 lines
Signed-off-by Michal Wajdeczko <[email protected]>Cc Michal Winiarski <[email protected]>Cc Sagar Arun Kamble <[email protected]>Cc Chris Wilson <[email protected]>Cc Oscar Mateo <[email protected]>Reviewed-by Michał Winiarski <[email protected]>
And pushed, thanks for the patch and review. (Sorry for the lack of creativity in writing these thank you notes...)
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx