public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: Use sg_set_buf(), sg_dma_address() helper
@ 2024-11-04 19:52 Sui Jingfeng
  2024-11-04 21:24 ` ✗ Fi.CI.BAT: failure for " Patchwork
  0 siblings, 1 reply; 2+ messages in thread
From: Sui Jingfeng @ 2024-11-04 19:52 UTC (permalink / raw)
  To: Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Tvrtko Ursulin
  Cc: David Airlie, Simona Vetter, intel-gfx, dri-devel, linux-kernel,
	Sui Jingfeng

This patch switch to use sg_set_buf() and sg_dma_address() helpers, no
function change.

Signed-off-by: Sui Jingfeng <sui.jingfeng@linux.dev>
---
 drivers/gpu/drm/i915/i915_gpu_error.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_gpu_error.c b/drivers/gpu/drm/i915/i915_gpu_error.c
index 135ded17334e..9680cde47b5a 100644
--- a/drivers/gpu/drm/i915/i915_gpu_error.c
+++ b/drivers/gpu/drm/i915/i915_gpu_error.c
@@ -66,10 +66,8 @@
 static void __sg_set_buf(struct scatterlist *sg,
 			 void *addr, unsigned int len, loff_t it)
 {
-	sg->page_link = (unsigned long)virt_to_page(addr);
-	sg->offset = offset_in_page(addr);
-	sg->length = len;
-	sg->dma_address = it;
+	sg_set_buf(sg, addr, len);
+	sg_dma_address(sg) = it;
 }
 
 static bool __i915_error_grow(struct drm_i915_error_state_buf *e, size_t len)
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* ✗ Fi.CI.BAT: failure for drm/i915: Use sg_set_buf(), sg_dma_address() helper
  2024-11-04 19:52 [PATCH] drm/i915: Use sg_set_buf(), sg_dma_address() helper Sui Jingfeng
@ 2024-11-04 21:24 ` Patchwork
  0 siblings, 0 replies; 2+ messages in thread
From: Patchwork @ 2024-11-04 21:24 UTC (permalink / raw)
  To: Sui Jingfeng; +Cc: intel-gfx

[-- Attachment #1: Type: text/plain, Size: 11934 bytes --]

== Series Details ==

Series: drm/i915: Use sg_set_buf(), sg_dma_address() helper
URL   : https://patchwork.freedesktop.org/series/140899/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_15627 -> Patchwork_140899v1
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with Patchwork_140899v1 absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in Patchwork_140899v1, please notify your bug team (I915-ci-infra@lists.freedesktop.org) 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_140899v1/index.html

Participating hosts (44 -> 44)
------------------------------

  Additional (1): bat-arls-1 
  Missing    (1): fi-snb-2520m 

Possible new issues
-------------------

  Here are the unknown changes that may have been introduced in Patchwork_140899v1:

### IGT changes ###

#### Possible regressions ####

  * igt@debugfs_test@read_all_entries:
    - bat-arls-2:         [PASS][1] -> [ABORT][2]
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/bat-arls-2/igt@debugfs_test@read_all_entries.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/bat-arls-2/igt@debugfs_test@read_all_entries.html
    - fi-tgl-1115g4:      [PASS][3] -> [ABORT][4]
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/fi-tgl-1115g4/igt@debugfs_test@read_all_entries.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/fi-tgl-1115g4/igt@debugfs_test@read_all_entries.html
    - fi-cfl-guc:         [PASS][5] -> [ABORT][6]
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/fi-cfl-guc/igt@debugfs_test@read_all_entries.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/fi-cfl-guc/igt@debugfs_test@read_all_entries.html
    - bat-mtlp-6:         [PASS][7] -> [ABORT][8]
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/bat-mtlp-6/igt@debugfs_test@read_all_entries.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/bat-mtlp-6/igt@debugfs_test@read_all_entries.html
    - bat-dg2-14:         [PASS][9] -> [ABORT][10]
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/bat-dg2-14/igt@debugfs_test@read_all_entries.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/bat-dg2-14/igt@debugfs_test@read_all_entries.html
    - bat-atsm-1:         [PASS][11] -> [ABORT][12]
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/bat-atsm-1/igt@debugfs_test@read_all_entries.html
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/bat-atsm-1/igt@debugfs_test@read_all_entries.html
    - bat-dg2-11:         [PASS][13] -> [ABORT][14]
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/bat-dg2-11/igt@debugfs_test@read_all_entries.html
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/bat-dg2-11/igt@debugfs_test@read_all_entries.html
    - bat-mtlp-8:         [PASS][15] -> [ABORT][16]
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/bat-mtlp-8/igt@debugfs_test@read_all_entries.html
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/bat-mtlp-8/igt@debugfs_test@read_all_entries.html
    - bat-dg2-8:          [PASS][17] -> [ABORT][18]
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/bat-dg2-8/igt@debugfs_test@read_all_entries.html
   [18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/bat-dg2-8/igt@debugfs_test@read_all_entries.html
    - fi-kbl-guc:         [PASS][19] -> [ABORT][20]
   [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/fi-kbl-guc/igt@debugfs_test@read_all_entries.html
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/fi-kbl-guc/igt@debugfs_test@read_all_entries.html
    - bat-arls-1:         NOTRUN -> [ABORT][21]
   [21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/bat-arls-1/igt@debugfs_test@read_all_entries.html
    - fi-pnv-d510:        [PASS][22] -> [ABORT][23]
   [22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/fi-pnv-d510/igt@debugfs_test@read_all_entries.html
   [23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/fi-pnv-d510/igt@debugfs_test@read_all_entries.html
    - bat-adlp-9:         [PASS][24] -> [ABORT][25]
   [24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/bat-adlp-9/igt@debugfs_test@read_all_entries.html
   [25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/bat-adlp-9/igt@debugfs_test@read_all_entries.html
    - bat-rpls-4:         [PASS][26] -> [ABORT][27]
   [26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/bat-rpls-4/igt@debugfs_test@read_all_entries.html
   [27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/bat-rpls-4/igt@debugfs_test@read_all_entries.html
    - bat-arlh-2:         [PASS][28] -> [ABORT][29]
   [28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/bat-arlh-2/igt@debugfs_test@read_all_entries.html
   [29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/bat-arlh-2/igt@debugfs_test@read_all_entries.html
    - bat-dg2-9:          [PASS][30] -> [ABORT][31]
   [30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/bat-dg2-9/igt@debugfs_test@read_all_entries.html
   [31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/bat-dg2-9/igt@debugfs_test@read_all_entries.html

  * igt@i915_hangman@error-state-basic:
    - fi-cfl-8109u:       [PASS][32] -> [ABORT][33]
   [32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/fi-cfl-8109u/igt@i915_hangman@error-state-basic.html
   [33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/fi-cfl-8109u/igt@i915_hangman@error-state-basic.html
    - fi-skl-6600u:       [PASS][34] -> [ABORT][35]
   [34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/fi-skl-6600u/igt@i915_hangman@error-state-basic.html
   [35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/fi-skl-6600u/igt@i915_hangman@error-state-basic.html
    - bat-twl-2:          [PASS][36] -> [ABORT][37]
   [36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/bat-twl-2/igt@i915_hangman@error-state-basic.html
   [37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/bat-twl-2/igt@i915_hangman@error-state-basic.html
    - fi-bsw-nick:        [PASS][38] -> [ABORT][39]
   [38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/fi-bsw-nick/igt@i915_hangman@error-state-basic.html
   [39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/fi-bsw-nick/igt@i915_hangman@error-state-basic.html
    - fi-elk-e7500:       [PASS][40] -> [ABORT][41]
   [40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/fi-elk-e7500/igt@i915_hangman@error-state-basic.html
   [41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/fi-elk-e7500/igt@i915_hangman@error-state-basic.html
    - bat-adlm-1:         [PASS][42] -> [ABORT][43]
   [42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/bat-adlm-1/igt@i915_hangman@error-state-basic.html
   [43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/bat-adlm-1/igt@i915_hangman@error-state-basic.html
    - bat-arlh-3:         [PASS][44] -> [ABORT][45]
   [44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/bat-arlh-3/igt@i915_hangman@error-state-basic.html
   [45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/bat-arlh-3/igt@i915_hangman@error-state-basic.html
    - bat-dg1-7:          [PASS][46] -> [ABORT][47]
   [46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/bat-dg1-7/igt@i915_hangman@error-state-basic.html
   [47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/bat-dg1-7/igt@i915_hangman@error-state-basic.html
    - fi-kbl-7567u:       [PASS][48] -> [ABORT][49]
   [48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/fi-kbl-7567u/igt@i915_hangman@error-state-basic.html
   [49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/fi-kbl-7567u/igt@i915_hangman@error-state-basic.html
    - bat-twl-1:          [PASS][50] -> [ABORT][51]
   [50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/bat-twl-1/igt@i915_hangman@error-state-basic.html
   [51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/bat-twl-1/igt@i915_hangman@error-state-basic.html
    - bat-rplp-1:         [PASS][52] -> [ABORT][53]
   [52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/bat-rplp-1/igt@i915_hangman@error-state-basic.html
   [53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/bat-rplp-1/igt@i915_hangman@error-state-basic.html
    - fi-rkl-11600:       [PASS][54] -> [ABORT][55]
   [54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/fi-rkl-11600/igt@i915_hangman@error-state-basic.html
   [55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/fi-rkl-11600/igt@i915_hangman@error-state-basic.html

  
Known issues
------------

  Here are the changes found in Patchwork_140899v1 that come from known issues:

### IGT changes ###

#### Possible fixes ####

  * igt@i915_module_load@load:
    - bat-dg2-9:          [DMESG-WARN][56] -> [PASS][57]
   [56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/bat-dg2-9/igt@i915_module_load@load.html
   [57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/bat-dg2-9/igt@i915_module_load@load.html

  * igt@i915_module_load@reload:
    - bat-apl-1:          [DMESG-WARN][58] ([i915#180]) -> [PASS][59] +2 other tests pass
   [58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/bat-apl-1/igt@i915_module_load@reload.html
   [59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/bat-apl-1/igt@i915_module_load@reload.html

  * igt@i915_pm_rpm@module-reload:
    - bat-apl-1:          [DMESG-WARN][60] ([i915#11621] / [i915#180] / [i915#1982]) -> [PASS][61] +1 other test pass
   [60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/bat-apl-1/igt@i915_pm_rpm@module-reload.html
   [61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/bat-apl-1/igt@i915_pm_rpm@module-reload.html

  * igt@i915_selftest@live@sanitycheck:
    - bat-apl-1:          [DMESG-WARN][62] ([i915#11621]) -> [PASS][63] +79 other tests pass
   [62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/bat-apl-1/igt@i915_selftest@live@sanitycheck.html
   [63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/bat-apl-1/igt@i915_selftest@live@sanitycheck.html

  * igt@kms_busy@basic@flip:
    - bat-apl-1:          [DMESG-WARN][64] ([i915#180] / [i915#1982]) -> [PASS][65]
   [64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/bat-apl-1/igt@kms_busy@basic@flip.html
   [65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/bat-apl-1/igt@kms_busy@basic@flip.html

  * igt@kms_pm_rpm@basic-pci-d3-state:
    - bat-apl-1:          [DMESG-WARN][66] ([i915#11621] / [i915#180]) -> [PASS][67] +43 other tests pass
   [66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15627/bat-apl-1/igt@kms_pm_rpm@basic-pci-d3-state.html
   [67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_140899v1/bat-apl-1/igt@kms_pm_rpm@basic-pci-d3-state.html

  
  [i915#11621]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11621
  [i915#180]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/180
  [i915#1982]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/1982


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

  * Linux: CI_DRM_15627 -> Patchwork_140899v1

  CI-20190529: 20190529
  CI_DRM_15627: 0a6cc4357ae4d824f909468ca1deed28ae5ac96f @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_8093: 8093
  Patchwork_140899v1: 0a6cc4357ae4d824f909468ca1deed28ae5ac96f @ git://anongit.freedesktop.org/gfx-ci/linux

== Logs ==

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

[-- Attachment #2: Type: text/html, Size: 13299 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-04 21:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-04 19:52 [PATCH] drm/i915: Use sg_set_buf(), sg_dma_address() helper Sui Jingfeng
2024-11-04 21:24 ` ✗ Fi.CI.BAT: failure for " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox