drm/i915/lmem: debugfs for LMEM details
Subsystems (2)
PATCH v4 1/1 drm/i915/lmem: debugfs for LMEM details
From: Lukasz Fiedorowicz <[email protected]>
Debugfs i915_gem_object is extended to enable the IGTs to detect the LMEM's availability and the total size of LMEM.
v2: READ_ONCE is used [Chris]
v3: %pa is used for printing the resource [Chris]
v4: All regions' details added to debugfs [Chris]
--- drivers/gpu/drm/i915/i915_debugfs.c | 12 +++++++++++- drivers/gpu/drm/i915/intel_memory_region.c | 19 ++++++++++++++++++- drivers/gpu/drm/i915/intel_memory_region.h | 4 ++++ 3 files changed, 33 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/i915_debugfs.c +11 -1
@@ -367,13 +367,23 @@ static void print_context_stats(struct seq_file *m,static int i915_gem_object_info (struct seq_file *m,void *data) {struct drm_i915_private *i915 =node_to_i915 (m->private); +struct intel_memory_region *mem; +enum intel_region_id id;seq_printf (m,"%u shrinkable [%u free] objects, %llu bytes\n" , i915->mm.shrink_count,atomic_read (&i915->mm.free_count), i915->mm.shrink_memory); -seq_putc (m,'\n' ); +for (id =INTEL_REGION_SMEM ; id <INTEL_REGION_UNKNOWN ; id++) { + mem = i915->mm.regions[id]; +if (!mem) +continue ; + +seq_printf (m,"%s total: %pa bytes, available %pa bytes\n" , +intel_get_mem_region_name (mem), &mem->total, + &mem->avail); + }print_context_stats (m, i915);
drivers/gpu/drm/i915/intel_memory_region.c +18 -1
@@ -10,6 +10,20 @@#define REGION_MAP (type, inst) \ BIT((type) + INTEL_MEMORY_TYPE_SHIFT) | BIT(inst) +char *intel_get_mem_region_name (struct intel_memory_region *mem) +{ +switch (MEMORY_TYPE_FROM_REGION (mem->id)) { +case INTEL_REGION_SMEM : +return "SYSTEM MEM" ; +case INTEL_REGION_LMEM : +return "LOCAL MEM" ; +case INTEL_REGION_STOLEN : +return "STOLEN MEM" ; +default : +return NULL ; + } +} +const u32 intel_region_map[] = { [INTEL_REGION_SMEM ] =REGION_MAP (INTEL_MEMORY_SYSTEM ,0 ), [INTEL_REGION_LMEM ] =REGION_MAP (INTEL_MEMORY_LOCAL ,0 ),
@@ -37,7 +51,7 @@ __intel_memory_region_put_pages_buddy(struct intel_memory_region *mem, struct list_head *blocks) {mutex_lock (&mem->mm_lock); -intel_memory_region_free_pages (mem, blocks); + mem->avail +=intel_memory_region_free_pages (mem, blocks);mutex_unlock (&mem->mm_lock); }
@@ -106,6 +120,7 @@ __intel_memory_region_get_pages_buddy(struct intel_memory_region *mem,break ; }while (1 ); + mem->avail -= size;mutex_unlock (&mem->mm_lock);return 0 ;
@@ -164,6 +179,8 @@ intel_memory_region_create(struct drm_i915_private *i915, mem->io_start = io_start; mem->min_page_size = min_page_size; mem->ops = ops; + mem->total = size; + mem->avail = mem->total;mutex_init (&mem->objects.lock);INIT_LIST_HEAD (&mem->objects.list);
drivers/gpu/drm/i915/intel_memory_region.h +4 -0
@@ -82,6 +82,8 @@ struct intel_memory_region {resource_size_t io_start;resource_size_t min_page_size; +resource_size_t total; +resource_size_t avail;unsigned int type;unsigned int instance;
@@ -96,6 +98,8 @@ struct intel_memory_region { } objects; }; +char *intel_get_mem_region_name (struct intel_memory_region *mem); +int intel_memory_region_init_buddy (struct intel_memory_region *mem);void intel_memory_region_release_buddy (struct intel_memory_region *mem);
Signature · 6 lines
2.20.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/lmem: debugfs for LMEM details (rev4)
== Series Details ==
== Series Details ==
Series: drm/i915/lmem: debugfs for LMEM details (rev4)
URL : https://patchwork.freedesktop.org/series/71211/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_7632 -> Patchwork_15915
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/index.html
Known issues
------------
Here are the changes found in Patchwork_15915 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s0:
- fi-cml-s: [PASS][1] -> [FAIL][2] ([fdo#103375])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/fi-cml-s/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/fi-cml-s/igt@[email protected]
* igt@i915_module_load@reload-with-fault-injection:
- fi-cfl-guc: [PASS][3] -> [INCOMPLETE][4] ([i915#505] / [i915#671])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/fi-cfl-guc/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/fi-cfl-guc/igt@[email protected]
- fi-cfl-8700k: [PASS][5] -> [INCOMPLETE][6] ([i915#505])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/fi-cfl-8700k/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/fi-cfl-8700k/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- fi-icl-u2: [PASS][7] -> [INCOMPLETE][8] ([i915#140])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/fi-icl-u2/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/fi-icl-u2/igt@[email protected]
#### Possible fixes ####
* igt@gem_close_race@basic-threads:
- {fi-tgl-guc}: [INCOMPLETE][9] ([i915#435]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/fi-tgl-guc/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/fi-tgl-guc/igt@[email protected]
- fi-byt-n2820: [TIMEOUT][11] ([i915#816]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/fi-byt-n2820/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/fi-byt-n2820/igt@[email protected]
* igt@gem_exec_suspend@basic-s3:
- fi-cml-s: [DMESG-WARN][13] ([fdo#111764]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/fi-cml-s/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/fi-cml-s/igt@[email protected]
* igt@i915_pm_rpm@basic-pci-d3-state:
- fi-icl-dsi: [INCOMPLETE][15] ([i915#140] / [i915#189]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/fi-icl-dsi/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/fi-icl-dsi/igt@[email protected]
* igt@i915_selftest@live_blt:
- fi-hsw-4770r: [DMESG-FAIL][17] ([i915#725]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/fi-hsw-4770r/igt@i915_selftest@live_blt.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/fi-hsw-4770r/igt@i915_selftest@live_blt.html
- fi-hsw-4770: [DMESG-FAIL][19] ([i915#725]) -> [PASS][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/fi-hsw-4770/igt@i915_selftest@live_blt.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/fi-hsw-4770/igt@i915_selftest@live_blt.html
* igt@i915_selftest@live_gem_contexts:
- fi-byt-j1900: [DMESG-FAIL][21] ([i915#722]) -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/fi-byt-j1900/igt@i915_selftest@live_gem_contexts.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/fi-byt-j1900/igt@i915_selftest@live_gem_contexts.html
#### Warnings ####
* igt@gem_exec_suspend@basic-s4-devices:
- fi-kbl-x1275: [DMESG-WARN][23] ([fdo#107139] / [i915#62] / [i915#92]) -> [DMESG-WARN][24] ([fdo#107139] / [i915#62] / [i915#92] / [i915#95])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/fi-kbl-x1275/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/fi-kbl-x1275/igt@[email protected]
* igt@kms_flip@basic-flip-vs-modeset:
- fi-kbl-x1275: [DMESG-WARN][25] ([i915#62] / [i915#92] / [i915#95]) -> [DMESG-WARN][26] ([i915#62] / [i915#92]) +7 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/fi-kbl-x1275/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/fi-kbl-x1275/igt@[email protected]
* igt@kms_flip@basic-flip-vs-wf_vblank:
- fi-kbl-x1275: [DMESG-WARN][27] ([i915#62] / [i915#92]) -> [DMESG-WARN][28] ([i915#62] / [i915#92] / [i915#95]) +5 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/fi-kbl-x1275/igt@kms_flip@basic-flip-vs-wf_vblank.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/fi-kbl-x1275/igt@kms_flip@basic-flip-vs-wf_vblank.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#107139]: https://bugs.freedesktop.org/show_bug.cgi?id=107139
[fdo#111736]: https://bugs.freedesktop.org/show_bug.cgi?id=111736
[fdo#111764]: https://bugs.freedesktop.org/show_bug.cgi?id=111764
[i915#140]: https://gitlab.freedesktop.org/drm/intel/issues/140
[i915#189]: https://gitlab.freedesktop.org/drm/intel/issues/189
[i915#435]: https://gitlab.freedesktop.org/drm/intel/issues/435
[i915#505]: https://gitlab.freedesktop.org/drm/intel/issues/505
[i915#62]: https://gitlab.freedesktop.org/drm/intel/issues/62
[i915#671]: https://gitlab.freedesktop.org/drm/intel/issues/671
[i915#722]: https://gitlab.freedesktop.org/drm/intel/issues/722
[i915#725]: https://gitlab.freedesktop.org/drm/intel/issues/725
[i915#816]: https://gitlab.freedesktop.org/drm/intel/issues/816
[i915#92]: https://gitlab.freedesktop.org/drm/intel/issues/92
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
Participating hosts (51 -> 37)
------------------------------
Additional (2): fi-skl-6770hq fi-snb-2520m
Missing (16): fi-ilk-m540 fi-bdw-samus fi-bsw-n3050 fi-hsw-4200u fi-hsw-peppy fi-byt-squawks fi-bsw-cyan fi-bwr-2160 fi-kbl-7500u fi-ctg-p8600 fi-ivb-3770 fi-skl-lmem fi-kbl-7560u fi-byt-clapper fi-skl-6600u fi-snb-2600
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_7632 -> Patchwork_15915
CI-20190529: 20190529
CI_DRM_7632: 64a59d08ac03df30cae453f6a7ed879c27df0eb6 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5352: 0586d205f651674e575351c2d5a7d0760716c9f1 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_15915: 3fba815adcff02a404aca3c466b89eaec4b91ffe @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
3fba815adcff drm/i915/lmem: debugfs for LMEM details
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/lmem: debugfs for LMEM details (rev4)
In reply to Ramalingam C== Series Details ==
== Series Details ==
Series: drm/i915/lmem: debugfs for LMEM details (rev4)
URL : https://patchwork.freedesktop.org/series/71211/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_7632_full -> Patchwork_15915_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Known issues
------------
Here are the changes found in Patchwork_15915_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_persistence@rcs0-mixed-process:
- shard-apl: [PASS][1] -> [FAIL][2] ([i915#679])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-apl7/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-apl7/igt@[email protected]
* igt@gem_ctx_shared@q-smoketest-bsd2:
- shard-tglb: [PASS][3] -> [INCOMPLETE][4] ([i915#461])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-tglb2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-tglb9/igt@[email protected]
* igt@gem_exec_create@madvise:
- shard-tglb: [PASS][5] -> [INCOMPLETE][6] ([i915#435])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-tglb9/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-tglb1/igt@[email protected]
* igt@gem_exec_schedule@smoketest-bsd1:
- shard-tglb: [PASS][7] -> [INCOMPLETE][8] ([i915#463])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-tglb4/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-tglb4/igt@[email protected]
* igt@gem_ppgtt@flink-and-close-vma-leak:
- shard-skl: [PASS][9] -> [FAIL][10] ([i915#644])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-skl3/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-skl4/igt@[email protected]
* igt@gem_workarounds@suspend-resume-context:
- shard-apl: [PASS][11] -> [DMESG-WARN][12] ([i915#180]) +3 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-apl4/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-apl4/igt@[email protected]
* igt@i915_selftest@live_requests:
- shard-tglb: [PASS][13] -> [INCOMPLETE][14] ([fdo#112057])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-tglb8/igt@i915_selftest@live_requests.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-tglb7/igt@i915_selftest@live_requests.html
* igt@kms_color@pipe-b-ctm-negative:
- shard-skl: [PASS][15] -> [DMESG-WARN][16] ([i915#109]) +1 similar issue
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-skl8/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-skl9/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-256x85-sliding:
- shard-skl: [PASS][17] -> [FAIL][18] ([i915#54]) +3 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-skl2/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-skl5/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-suspend:
- shard-tglb: [PASS][19] -> [INCOMPLETE][20] ([i915#456] / [i915#460])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-tglb9/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-tglb5/igt@[email protected]
* igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic:
- shard-glk: [PASS][21] -> [FAIL][22] ([i915#72])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-glk4/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-glk5/igt@[email protected]
* igt@kms_flip@flip-vs-suspend:
- shard-skl: [PASS][23] -> [INCOMPLETE][24] ([i915#221])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-skl9/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-skl10/igt@[email protected]
- shard-tglb: [PASS][25] -> [INCOMPLETE][26] ([i915#460] / [i915#516])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-tglb9/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-tglb2/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-suspend:
- shard-kbl: [PASS][27] -> [DMESG-WARN][28] ([i915#180]) +6 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-kbl4/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-kbl7/igt@[email protected]
- shard-tglb: [PASS][29] -> [INCOMPLETE][30] ([i915#456] / [i915#460] / [i915#474])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-tglb1/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-tglb7/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-pri-indfb-multidraw:
- shard-tglb: [PASS][31] -> [FAIL][32] ([i915#49]) +4 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-tglb7/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-tglb7/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-coverage-7efc:
- shard-skl: [PASS][33] -> [FAIL][34] ([fdo#108145] / [i915#265])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-skl2/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-skl5/igt@[email protected]
* igt@kms_vblank@pipe-d-ts-continuation-dpms-suspend:
- shard-tglb: [PASS][35] -> [INCOMPLETE][36] ([i915#460])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-tglb2/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-tglb5/igt@[email protected]
#### Possible fixes ####
* igt@gem_ctx_shared@q-smoketest-vebox:
- shard-tglb: [INCOMPLETE][37] ([fdo#111735]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-tglb6/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-tglb4/igt@[email protected]
* igt@gem_exec_nop@basic-sequential:
- shard-tglb: [INCOMPLETE][39] ([i915#435]) -> [PASS][40] +1 similar issue
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-tglb5/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-tglb1/igt@[email protected]
* igt@gem_exec_reloc@basic-gtt-wc-active:
- shard-skl: [DMESG-WARN][41] ([i915#109]) -> [PASS][42] +1 similar issue
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-skl8/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-skl9/igt@[email protected]
* igt@gem_exec_suspend@basic-s3:
- shard-tglb: [INCOMPLETE][43] ([fdo#111736] / [i915#460]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-tglb1/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-tglb6/igt@[email protected]
* igt@gem_persistent_relocs@forked-interruptible-faulting-reloc-thrash-inactive:
- shard-apl: [TIMEOUT][45] ([i915#530]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-apl3/igt@gem_persistent_relocs@forked-interruptible-faulting-reloc-thrash-inactive.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-apl3/igt@gem_persistent_relocs@forked-interruptible-faulting-reloc-thrash-inactive.html
* igt@gem_persistent_relocs@forked-interruptible-thrashing:
- shard-snb: [FAIL][47] ([i915#520]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-snb6/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-snb7/igt@[email protected]
* igt@gem_ppgtt@flink-and-close-vma-leak:
- shard-glk: [FAIL][49] ([i915#644]) -> [PASS][50]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-glk1/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-glk7/igt@[email protected]
- shard-kbl: [FAIL][51] ([i915#644]) -> [PASS][52]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-kbl1/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-kbl6/igt@[email protected]
* {igt@gen9_exec_parse@allowed-single}:
- shard-glk: [DMESG-WARN][53] ([i915#716]) -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-glk2/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-glk2/igt@[email protected]
* igt@i915_selftest@mock_requests:
- shard-apl: [INCOMPLETE][55] ([fdo#103927]) -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-apl7/igt@i915_selftest@mock_requests.html
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-apl7/igt@i915_selftest@mock_requests.html
* igt@i915_suspend@sysfs-reader:
- shard-kbl: [DMESG-WARN][57] ([i915#180]) -> [PASS][58] +3 similar issues
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-kbl6/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-kbl7/igt@[email protected]
* igt@kms_big_fb@x-tiled-32bpp-rotate-180:
- shard-kbl: [DMESG-WARN][59] ([i915#93] / [i915#95]) -> [PASS][60]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-kbl2/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-kbl3/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-256x256-sliding:
- shard-skl: [FAIL][61] ([i915#54]) -> [PASS][62] +1 similar issue
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-skl7/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-skl2/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-suspend:
- shard-apl: [DMESG-WARN][63] ([i915#180]) -> [PASS][64] +1 similar issue
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-apl1/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-apl8/igt@[email protected]
* igt@kms_draw_crc@draw-method-rgb565-mmap-gtt-untiled:
- shard-skl: [FAIL][65] ([i915#52] / [i915#54]) -> [PASS][66]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-skl1/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-skl5/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-skl: [FAIL][67] ([i915#79]) -> [PASS][68]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-skl10/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-skl3/igt@[email protected]
* igt@kms_flip@plain-flip-fb-recreate:
- shard-skl: [FAIL][69] ([i915#34]) -> [PASS][70]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-skl6/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-skl1/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-shrfb-draw-render:
- shard-skl: [FAIL][71] ([i915#49]) -> [PASS][72]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-skl2/igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-shrfb-draw-render.html
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-skl1/igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-shrfb-draw-render.html
* igt@kms_pipe_crc_basic@hang-read-crc-pipe-a:
- shard-skl: [FAIL][73] ([i915#53]) -> [PASS][74]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-skl2/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-skl1/igt@[email protected]
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes:
- shard-skl: [INCOMPLETE][75] ([i915#69]) -> [PASS][76]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-skl7/igt@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-skl2/igt@[email protected]
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-d-planes:
- shard-tglb: [INCOMPLETE][77] ([i915#460]) -> [PASS][78]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-tglb4/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-tglb6/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-coverage-7efc:
- shard-skl: [FAIL][79] ([fdo#108145]) -> [PASS][80]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-skl2/igt@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-skl1/igt@[email protected]
* igt@kms_psr@psr2_suspend:
- shard-tglb: [DMESG-WARN][81] ([i915#402]) -> [PASS][82]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-tglb8/igt@kms_psr@psr2_suspend.html
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-tglb3/igt@kms_psr@psr2_suspend.html
* igt@kms_setmode@basic:
- shard-kbl: [FAIL][83] ([i915#31]) -> [PASS][84]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-kbl7/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-kbl2/igt@[email protected]
#### Warnings ####
* igt@gem_tiled_blits@interruptible:
- shard-hsw: [INCOMPLETE][85] ([i915#61]) -> [FAIL][86] ([i915#818])
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-hsw6/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-hsw6/igt@[email protected]
* igt@kms_atomic_transition@6x-modeset-transitions-nonblocking:
- shard-tglb: [SKIP][87] ([fdo#112021]) -> [SKIP][88] ([fdo#112016] / [fdo#112021])
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7632/shard-tglb9/igt@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15915/shard-tglb5/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#111735]: https://bugs.freedesktop.org/show_bug.cgi?id=111735
[fdo#111736]: https://bugs.freedesktop.org/show_bug.cgi?id=111736
[fdo#112016]: https://bugs.freedesktop.org/show_bug.cgi?id=112016
[fdo#112021]: https://bugs.freedesktop.org/show_bug.cgi?id=112021
[fdo#112057]: https://bugs.freedesktop.org/show_bug.cgi?id=112057
[i915#109]: https://gitlab.freedesktop.org/drm/intel/issues/109
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#221]: https://gitlab.freedesktop.org/drm/intel/issues/221
[i915#265]: https://gitlab.freedesktop.org/drm/intel/issues/265
[i915#31]: https://gitlab.freedesktop.org/drm/intel/issues/31
[i915#34]: https://gitlab.freedesktop.org/drm/intel/issues/34
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
[i915#435]: https://gitlab.freedesktop.org/drm/intel/issues/435
[i915#456]: https://gitlab.freedesktop.org/drm/intel/issues/456
[i915#460]: https://gitlab.freedesktop.org/drm/intel/issues/460
[i915#461]: https://gitlab.freedesktop.org/drm/intel/issues/461
[i915#463]: https://gitlab.freedesktop.org/drm/intel/issues/463
[i915#474]: https://gitlab.freedesktop.org/drm/intel/issues/474
[i915#49]: https://gitlab.freedesktop.org/drm/intel/issues/49
[i915#516]: https://gitlab.freedesktop.org/drm/intel/issues/516
[i915#52]: https://gitlab.freedesktop.org/drm/intel/issues/52
[i915#520]: https://gitlab.freedesktop.org/drm/intel/issues/520
[i915#53]: https://gitlab.freedesktop.org/drm/intel/issues/53
[i915#530]: https://gitlab.freedesktop.org/drm/intel/issues/530
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#61]: https://gitlab.freedesktop.org/drm/intel/issues/61
[i915#644]: https://gitlab.freedesktop.org/drm/intel/issues/644
[i915#679]: https://gitlab.freedesktop.org/drm/intel/issues/679
[i915#69]: https://gitlab.freedesktop.org/drm/intel/issues/69
[i915#716]: https://gitlab.freedesktop.org/drm/intel/issues/716
[i915#72]: https://gitlab.freedesktop.org/drm/intel/issues/72
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#818]: https://gitlab.freedesktop.org/drm/intel/issues/818
[i915#93]: https://gitlab.freedesktop.org/drm/intel/issues/93
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
Participating hosts (10 -> 10)
------------------------------
No changes in participating hosts
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_7632 -> Patchwork_15915
CI-20190529: 20190529
CI_DRM_7632: 64a59d08ac03df30cae453f6a7ed879c27df0eb6 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5352: 0586d205f651674e575351c2d5a7d0760716c9f1 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_15915: 3fba815adcff02a404aca3c466b89eaec4b91ffe @ 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_15915/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoting Ramalingam C (2019-12-24 08:43:00)
Quoted 27 lines
From: Lukasz Fiedorowicz <[email protected]>
Debugfs
i915_gem_objectis extended to enable the IGTs to detect the LMEM's availability and the total size of LMEM.v2:
READ_ONCEis used [Chris]
v3: %pa is used for printing the resource [Chris]
v4: All regions' details added to debugfs [Chris]Signed-off-by Lukasz Fiedorowicz <[email protected]>Signed-off-by Matthew Auld <[email protected]>Signed-off-by Stuart Summers <[email protected]>Signed-off-by Ramalingam C <[email protected]>Cc Joonas Lahtinen <[email protected]>--- drivers/gpu/drm/i915/i915_debugfs.c | 12 +++++++++++- drivers/gpu/drm/i915/intel_memory_region.c | 19 ++++++++++++++++++- drivers/gpu/drm/i915/intel_memory_region.h | 4 ++++ 3 files changed, 33 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/i915_debugfs.c +0
-0@@ -367,13 +367,23 @@ static void print_context_stats(struct seq_file *m,static int i915_gem_object_info (struct seq_file *m,void *data) {
drivers/gpu/drm/i915/i915_debugfs.c static void print_context_stats(struct seq_file *m, · line 376
Quoted 10 lines
drivers/gpu/drm/i915/i915_debugfs.c +2
-1struct drm_i915_private *i915 =node_to_i915 (m->private); +struct intel_memory_region *mem; +enum intel_region_id id;seq_printf (m,"%u shrinkable [%u free] objects, %llu bytes\n" , i915->mm.shrink_count,atomic_read (&i915->mm.free_count), i915->mm.shrink_memory); -seq_putc (m,'\n' );
Keep the newline before the switch to context info and after the general memory info.
drivers/gpu/drm/i915/i915_debugfs.c static void print_context_stats(struct seq_file *m, · line 378
Quoted 1 line
drivers/gpu/drm/i915/i915_debugfs.c +1
-0+for (id =INTEL_REGION_SMEM ; id <INTEL_REGION_UNKNOWN ; id++) {
We don't have a for_each_memregion() yet?
#define for_each_memory_region(mr, i915, id) \ for (id = 0; id < ARRAY_SIZE((i915)->mm.regions); id++) \ for_each_if(mr = i915->mm.regions[id])
Quoted 16 lines
drivers/gpu/drm/i915/i915_debugfs.c +8
-0+ mem = i915->mm.regions[id]; +if (!mem) +continue ; + +seq_printf (m,"%s total: %pa bytes, available %pa bytes\n" , +intel_get_mem_region_name (mem), &mem->total, + &mem->avail); + }print_context_stats (m, i915);drivers/gpu/drm/i915/intel_memory_region.c +0
-0
drivers/gpu/drm/i915/intel_memory_region.c line 13
Quoted 4 lines
drivers/gpu/drm/i915/intel_memory_region.c +1
-0@@ -10,6 +10,20 @@#define REGION_MAP (type, inst) \ BIT((type) + INTEL_MEMORY_TYPE_SHIFT) | BIT(inst) +char *intel_get_mem_region_name (struct intel_memory_region *mem)
const char. But as this does not scale, just put a char name[8] into intel_memory_region and populate it on init.
drivers/gpu/drm/i915/intel_memory_region.c line 17
Quoted 4 lines
drivers/gpu/drm/i915/intel_memory_region.c +4
-0+{ +switch (MEMORY_TYPE_FROM_REGION (mem->id)) { +case INTEL_REGION_SMEM : +return "SYSTEM MEM" ;
WHY ALL THE SHOUTING OF DIFFERING NAMES?
Just system, local, stolen would do.
drivers/gpu/drm/i915/intel_memory_region.c line 25
Quoted 8 lines
drivers/gpu/drm/i915/intel_memory_region.c +8
-0+case INTEL_REGION_LMEM : +return "LOCAL MEM" ; +case INTEL_REGION_STOLEN : +return "STOLEN MEM" ; +default : +return NULL ; + } +}
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx