* [igt-dev] [PATCH i-g-t v2] tests/kms_prime: Create the exporting BO with smem placement @ 2021-09-08 10:41 Ramalingam C 2021-09-08 11:31 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork ` (2 more replies) 0 siblings, 3 replies; 5+ messages in thread From: Ramalingam C @ 2021-09-08 10:41 UTC (permalink / raw) To: igt-dev; +Cc: Dixit Ashutosh, Chris_intel_ID, Michael Ruhl, Ramalingam C On i915, to avail the dmabuf, the sharing object needs to migratable into smem. So if the shared object is lmem, then it needs to have the smem as second placement option. Currently kms_prime sharing the dumb buffer between the devices. But dumb buffer can't have the placements and resides at lmem for the dgfx. Hence to meet the i915 expectation for dgfx, we create the BO using the gem_create with smem as second placement option. v2: Used gem_mmap__device_coherent for mmaped ptr (Ashutosh) Signed-off-by: Ramalingam C <ramalingam.c@intel.com> --- tests/kms_prime.c | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/tests/kms_prime.c b/tests/kms_prime.c index 2e20c58bc16e..ccbb2feadd29 100644 --- a/tests/kms_prime.c +++ b/tests/kms_prime.c @@ -100,18 +100,17 @@ static void prepare_scratch(int exporter_fd, struct dumb_bo *scratch, scratch->height = mode->vdisplay; scratch->bpp = 32; - scratch->handle = kmstest_dumb_create(exporter_fd, - ALIGN(scratch->width, 256), - scratch->height, - scratch->bpp, - &scratch->pitch, - &scratch->size); - - - ptr = kmstest_dumb_map_buffer(exporter_fd, - scratch->handle, - scratch->size, - PROT_WRITE); + igt_calc_fb_size(exporter_fd, mode->hdisplay, mode->vdisplay, DRM_FORMAT_XRGB8888, + DRM_FORMAT_MOD_NONE, &scratch->size, &scratch->pitch); + if (gem_has_lmem(exporter_fd)) + scratch->handle = gem_create_in_memory_regions(exporter_fd, scratch->size, + REGION_LMEM(0), REGION_SMEM); + else + scratch->handle = gem_create_in_memory_regions(exporter_fd, scratch->size, + REGION_SMEM); + + ptr = gem_mmap__device_coherent(exporter_fd, scratch->handle, 0, scratch->size, + PROT_WRITE | PROT_READ); for (size_t idx = 0; idx < scratch->size / sizeof(*ptr); ++idx) ptr[idx] = color; -- 2.20.1 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_prime: Create the exporting BO with smem placement 2021-09-08 10:41 [igt-dev] [PATCH i-g-t v2] tests/kms_prime: Create the exporting BO with smem placement Ramalingam C @ 2021-09-08 11:31 ` Patchwork 2021-09-08 15:05 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork 2021-09-08 20:50 ` [igt-dev] [PATCH i-g-t v2] " Dixit, Ashutosh 2 siblings, 0 replies; 5+ messages in thread From: Patchwork @ 2021-09-08 11:31 UTC (permalink / raw) To: Ramalingam C; +Cc: igt-dev [-- Attachment #1: Type: text/plain, Size: 1905 bytes --] == Series Details == Series: tests/kms_prime: Create the exporting BO with smem placement URL : https://patchwork.freedesktop.org/series/94471/ State : success == Summary == CI Bug Log - changes from CI_DRM_10562 -> IGTPW_6209 ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/index.html Known issues ------------ Here are the changes found in IGTPW_6209 that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_exec_parallel@engines@userptr: - fi-pnv-d510: [PASS][1] -> [INCOMPLETE][2] ([i915#299]) [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/fi-pnv-d510/igt@gem_exec_parallel@engines@userptr.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/fi-pnv-d510/igt@gem_exec_parallel@engines@userptr.html * igt@runner@aborted: - fi-pnv-d510: NOTRUN -> [FAIL][3] ([i915#2403]) [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/fi-pnv-d510/igt@runner@aborted.html [i915#2403]: https://gitlab.freedesktop.org/drm/intel/issues/2403 [i915#299]: https://gitlab.freedesktop.org/drm/intel/issues/299 Participating hosts (47 -> 39) ------------------------------ Missing (8): fi-ilk-m540 bat-adls-5 bat-dg1-6 fi-bsw-cyan bat-adlp-4 fi-ctg-p8600 fi-bdw-samus bat-jsl-1 Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_6200 -> IGTPW_6209 CI-20190529: 20190529 CI_DRM_10562: d38c3e456e48f3cc74f454615dedc5a82e258402 @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_6209: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/index.html IGT_6200: 3a6585c472dff11ece952b745244f05e4c93ede5 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/index.html [-- Attachment #2: Type: text/html, Size: 2527 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* [igt-dev] ✗ Fi.CI.IGT: failure for tests/kms_prime: Create the exporting BO with smem placement 2021-09-08 10:41 [igt-dev] [PATCH i-g-t v2] tests/kms_prime: Create the exporting BO with smem placement Ramalingam C 2021-09-08 11:31 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork @ 2021-09-08 15:05 ` Patchwork 2021-09-08 20:50 ` [igt-dev] [PATCH i-g-t v2] " Dixit, Ashutosh 2 siblings, 0 replies; 5+ messages in thread From: Patchwork @ 2021-09-08 15:05 UTC (permalink / raw) To: Ramalingam C; +Cc: igt-dev [-- Attachment #1: Type: text/plain, Size: 30278 bytes --] == Series Details == Series: tests/kms_prime: Create the exporting BO with smem placement URL : https://patchwork.freedesktop.org/series/94471/ State : failure == Summary == CI Bug Log - changes from CI_DRM_10562_full -> IGTPW_6209_full ==================================================== Summary ------- **FAILURE** Serious unknown changes coming with IGTPW_6209_full absolutely need to be verified manually. If you think the reported changes have nothing to do with the changes introduced in IGTPW_6209_full, 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/IGTPW_6209/index.html Possible new issues ------------------- Here are the unknown changes that may have been introduced in IGTPW_6209_full: ### IGT changes ### #### Possible regressions #### * igt@kms_prime@basic-crc@second-to-first: - shard-kbl: [PASS][1] -> [FAIL][2] [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-kbl3/igt@kms_prime@basic-crc@second-to-first.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-kbl4/igt@kms_prime@basic-crc@second-to-first.html - shard-iclb: [PASS][3] -> [FAIL][4] [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-iclb3/igt@kms_prime@basic-crc@second-to-first.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-iclb1/igt@kms_prime@basic-crc@second-to-first.html - shard-snb: [PASS][5] -> [FAIL][6] [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-snb5/igt@kms_prime@basic-crc@second-to-first.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-snb6/igt@kms_prime@basic-crc@second-to-first.html - shard-tglb: [PASS][7] -> [FAIL][8] [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-tglb6/igt@kms_prime@basic-crc@second-to-first.html [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb1/igt@kms_prime@basic-crc@second-to-first.html - shard-glk: [PASS][9] -> [FAIL][10] [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-glk4/igt@kms_prime@basic-crc@second-to-first.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-glk4/igt@kms_prime@basic-crc@second-to-first.html Known issues ------------ Here are the changes found in IGTPW_6209_full that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_create@create-massive: - shard-snb: NOTRUN -> [DMESG-WARN][11] ([i915#3002]) [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-snb6/igt@gem_create@create-massive.html * igt@gem_ctx_persistence@legacy-engines-mixed-process: - shard-snb: NOTRUN -> [SKIP][12] ([fdo#109271] / [i915#1099]) +4 similar issues [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-snb2/igt@gem_ctx_persistence@legacy-engines-mixed-process.html * igt@gem_ctx_sseu@engines: - shard-tglb: NOTRUN -> [SKIP][13] ([i915#280]) [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb2/igt@gem_ctx_sseu@engines.html * igt@gem_exec_fair@basic-none-rrul@rcs0: - shard-glk: NOTRUN -> [FAIL][14] ([i915#2842]) [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-glk9/igt@gem_exec_fair@basic-none-rrul@rcs0.html * igt@gem_exec_fair@basic-none-solo@rcs0: - shard-tglb: NOTRUN -> [FAIL][15] ([i915#2842]) [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb1/igt@gem_exec_fair@basic-none-solo@rcs0.html * igt@gem_exec_fair@basic-pace@vcs0: - shard-tglb: [PASS][16] -> [FAIL][17] ([i915#2842]) [16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-tglb5/igt@gem_exec_fair@basic-pace@vcs0.html [17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb3/igt@gem_exec_fair@basic-pace@vcs0.html * igt@gem_exec_fair@basic-pace@vecs0: - shard-glk: [PASS][18] -> [FAIL][19] ([i915#2842]) +4 similar issues [18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-glk5/igt@gem_exec_fair@basic-pace@vecs0.html [19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-glk1/igt@gem_exec_fair@basic-pace@vecs0.html * igt@gem_exec_fair@basic-throttle@rcs0: - shard-iclb: [PASS][20] -> [FAIL][21] ([i915#2849]) [20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-iclb4/igt@gem_exec_fair@basic-throttle@rcs0.html [21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-iclb3/igt@gem_exec_fair@basic-throttle@rcs0.html * igt@gem_pwrite@basic-exhaustion: - shard-snb: NOTRUN -> [WARN][22] ([i915#2658]) [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-snb6/igt@gem_pwrite@basic-exhaustion.html - shard-apl: NOTRUN -> [WARN][23] ([i915#2658]) [23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-apl6/igt@gem_pwrite@basic-exhaustion.html * igt@gem_render_copy@yf-tiled-to-vebox-linear: - shard-iclb: NOTRUN -> [SKIP][24] ([i915#768]) [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-iclb1/igt@gem_render_copy@yf-tiled-to-vebox-linear.html * igt@gem_userptr_blits@coherency-sync: - shard-tglb: NOTRUN -> [SKIP][25] ([fdo#110542]) [25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb3/igt@gem_userptr_blits@coherency-sync.html * igt@gem_userptr_blits@create-destroy-unsync: - shard-tglb: NOTRUN -> [SKIP][26] ([i915#3297]) +1 similar issue [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb7/igt@gem_userptr_blits@create-destroy-unsync.html * igt@gem_userptr_blits@dmabuf-sync: - shard-kbl: NOTRUN -> [SKIP][27] ([fdo#109271] / [i915#3323]) [27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-kbl3/igt@gem_userptr_blits@dmabuf-sync.html - shard-apl: NOTRUN -> [SKIP][28] ([fdo#109271] / [i915#3323]) [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-apl6/igt@gem_userptr_blits@dmabuf-sync.html * igt@gem_userptr_blits@vma-merge: - shard-apl: NOTRUN -> [FAIL][29] ([i915#3318]) [29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-apl8/igt@gem_userptr_blits@vma-merge.html - shard-kbl: NOTRUN -> [FAIL][30] ([i915#3318]) [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-kbl7/igt@gem_userptr_blits@vma-merge.html * igt@gem_workarounds@suspend-resume-context: - shard-apl: NOTRUN -> [DMESG-WARN][31] ([i915#180]) +1 similar issue [31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-apl7/igt@gem_workarounds@suspend-resume-context.html * igt@gen3_render_tiledy_blits: - shard-tglb: NOTRUN -> [SKIP][32] ([fdo#109289]) +4 similar issues [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb5/igt@gen3_render_tiledy_blits.html * igt@gen9_exec_parse@bb-start-cmd: - shard-tglb: NOTRUN -> [SKIP][33] ([i915#2856]) [33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb3/igt@gen9_exec_parse@bb-start-cmd.html * igt@i915_pm_rpm@dpms-non-lpsp: - shard-iclb: NOTRUN -> [SKIP][34] ([fdo#110892]) [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-iclb3/igt@i915_pm_rpm@dpms-non-lpsp.html * igt@i915_pm_rpm@gem-execbuf-stress-pc8: - shard-tglb: NOTRUN -> [SKIP][35] ([fdo#109506] / [i915#2411]) [35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb8/igt@i915_pm_rpm@gem-execbuf-stress-pc8.html * igt@i915_query@query-topology-unsupported: - shard-tglb: NOTRUN -> [SKIP][36] ([fdo#109302]) [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb5/igt@i915_query@query-topology-unsupported.html * igt@i915_selftest@live@hangcheck: - shard-snb: NOTRUN -> [INCOMPLETE][37] ([i915#3921]) [37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-snb5/igt@i915_selftest@live@hangcheck.html * igt@i915_suspend@fence-restore-untiled: - shard-kbl: [PASS][38] -> [DMESG-WARN][39] ([i915#180]) [38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-kbl6/igt@i915_suspend@fence-restore-untiled.html [39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-kbl7/igt@i915_suspend@fence-restore-untiled.html * igt@kms_big_fb@linear-32bpp-rotate-0: - shard-glk: [PASS][40] -> [DMESG-WARN][41] ([i915#118] / [i915#95]) +1 similar issue [40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-glk2/igt@kms_big_fb@linear-32bpp-rotate-0.html [41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-glk8/igt@kms_big_fb@linear-32bpp-rotate-0.html * igt@kms_big_fb@x-tiled-8bpp-rotate-90: - shard-tglb: NOTRUN -> [SKIP][42] ([fdo#111614]) +1 similar issue [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb2/igt@kms_big_fb@x-tiled-8bpp-rotate-90.html * igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip: - shard-apl: NOTRUN -> [SKIP][43] ([fdo#109271] / [i915#3777]) [43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-apl7/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip.html * igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180-hflip: - shard-kbl: NOTRUN -> [SKIP][44] ([fdo#109271] / [i915#3777]) +1 similar issue [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-kbl7/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180-hflip.html * igt@kms_big_fb@yf-tiled-32bpp-rotate-270: - shard-tglb: NOTRUN -> [SKIP][45] ([fdo#111615]) +7 similar issues [45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb2/igt@kms_big_fb@yf-tiled-32bpp-rotate-270.html * igt@kms_ccs@pipe-a-bad-rotation-90-y_tiled_gen12_mc_ccs: - shard-glk: NOTRUN -> [SKIP][46] ([fdo#109271] / [i915#3886]) +2 similar issues [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-glk3/igt@kms_ccs@pipe-a-bad-rotation-90-y_tiled_gen12_mc_ccs.html - shard-tglb: NOTRUN -> [SKIP][47] ([i915#3689] / [i915#3886]) +1 similar issue [47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb5/igt@kms_ccs@pipe-a-bad-rotation-90-y_tiled_gen12_mc_ccs.html * igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_ccs: - shard-tglb: NOTRUN -> [SKIP][48] ([i915#3689]) +14 similar issues [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb6/igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_ccs.html * igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc: - shard-kbl: NOTRUN -> [SKIP][49] ([fdo#109271] / [i915#3886]) +8 similar issues [49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-kbl6/igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc.html * igt@kms_ccs@pipe-c-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc: - shard-iclb: NOTRUN -> [SKIP][50] ([fdo#109278] / [i915#3886]) +2 similar issues [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-iclb2/igt@kms_ccs@pipe-c-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc.html - shard-apl: NOTRUN -> [SKIP][51] ([fdo#109271] / [i915#3886]) +9 similar issues [51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-apl6/igt@kms_ccs@pipe-c-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc.html * igt@kms_cdclk@mode-transition: - shard-iclb: NOTRUN -> [SKIP][52] ([i915#3742]) [52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-iclb1/igt@kms_cdclk@mode-transition.html - shard-tglb: NOTRUN -> [SKIP][53] ([i915#3742]) [53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb7/igt@kms_cdclk@mode-transition.html * igt@kms_chamelium@dp-hpd-storm-disable: - shard-glk: NOTRUN -> [SKIP][54] ([fdo#109271] / [fdo#111827]) +7 similar issues [54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-glk9/igt@kms_chamelium@dp-hpd-storm-disable.html - shard-tglb: NOTRUN -> [SKIP][55] ([fdo#109284] / [fdo#111827]) +9 similar issues [55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb6/igt@kms_chamelium@dp-hpd-storm-disable.html * igt@kms_chamelium@vga-hpd-for-each-pipe: - shard-kbl: NOTRUN -> [SKIP][56] ([fdo#109271] / [fdo#111827]) +14 similar issues [56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-kbl7/igt@kms_chamelium@vga-hpd-for-each-pipe.html * igt@kms_color_chamelium@pipe-a-ctm-blue-to-red: - shard-snb: NOTRUN -> [SKIP][57] ([fdo#109271] / [fdo#111827]) +21 similar issues [57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-snb2/igt@kms_color_chamelium@pipe-a-ctm-blue-to-red.html * igt@kms_color_chamelium@pipe-a-ctm-limited-range: - shard-apl: NOTRUN -> [SKIP][58] ([fdo#109271] / [fdo#111827]) +26 similar issues [58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-apl3/igt@kms_color_chamelium@pipe-a-ctm-limited-range.html * igt@kms_color_chamelium@pipe-a-degamma: - shard-iclb: NOTRUN -> [SKIP][59] ([fdo#109284] / [fdo#111827]) +3 similar issues [59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-iclb3/igt@kms_color_chamelium@pipe-a-degamma.html * igt@kms_content_protection@dp-mst-lic-type-1: - shard-tglb: NOTRUN -> [SKIP][60] ([i915#3116]) [60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb8/igt@kms_content_protection@dp-mst-lic-type-1.html * igt@kms_content_protection@legacy: - shard-iclb: NOTRUN -> [SKIP][61] ([fdo#109300] / [fdo#111066]) +1 similar issue [61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-iclb7/igt@kms_content_protection@legacy.html - shard-kbl: NOTRUN -> [TIMEOUT][62] ([i915#1319]) [62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-kbl1/igt@kms_content_protection@legacy.html - shard-apl: NOTRUN -> [TIMEOUT][63] ([i915#1319]) [63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-apl7/igt@kms_content_protection@legacy.html * igt@kms_content_protection@uevent: - shard-kbl: NOTRUN -> [FAIL][64] ([i915#2105]) [64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-kbl4/igt@kms_content_protection@uevent.html - shard-tglb: NOTRUN -> [SKIP][65] ([fdo#111828]) +2 similar issues [65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb2/igt@kms_content_protection@uevent.html - shard-apl: NOTRUN -> [FAIL][66] ([i915#2105]) [66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-apl1/igt@kms_content_protection@uevent.html * igt@kms_cursor_crc@pipe-b-cursor-32x32-onscreen: - shard-tglb: NOTRUN -> [SKIP][67] ([i915#3319]) +1 similar issue [67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb8/igt@kms_cursor_crc@pipe-b-cursor-32x32-onscreen.html * igt@kms_cursor_crc@pipe-b-cursor-512x170-random: - shard-tglb: NOTRUN -> [SKIP][68] ([fdo#109279] / [i915#3359]) +3 similar issues [68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb7/igt@kms_cursor_crc@pipe-b-cursor-512x170-random.html - shard-iclb: NOTRUN -> [SKIP][69] ([fdo#109278] / [fdo#109279]) [69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-iclb1/igt@kms_cursor_crc@pipe-b-cursor-512x170-random.html * igt@kms_cursor_crc@pipe-c-cursor-max-size-offscreen: - shard-tglb: NOTRUN -> [SKIP][70] ([i915#3359]) +3 similar issues [70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb7/igt@kms_cursor_crc@pipe-c-cursor-max-size-offscreen.html * igt@kms_cursor_crc@pipe-d-cursor-256x256-onscreen: - shard-kbl: NOTRUN -> [SKIP][71] ([fdo#109271]) +188 similar issues [71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-kbl4/igt@kms_cursor_crc@pipe-d-cursor-256x256-onscreen.html * igt@kms_cursor_edge_walk@pipe-d-128x128-right-edge: - shard-snb: NOTRUN -> [SKIP][72] ([fdo#109271]) +356 similar issues [72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-snb6/igt@kms_cursor_edge_walk@pipe-d-128x128-right-edge.html * igt@kms_cursor_legacy@cursorb-vs-flipb-legacy: - shard-iclb: NOTRUN -> [SKIP][73] ([fdo#109274] / [fdo#109278]) [73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-iclb3/igt@kms_cursor_legacy@cursorb-vs-flipb-legacy.html * igt@kms_dither@fb-8bpc-vs-panel-8bpc@edp-1-pipe-a: - shard-tglb: NOTRUN -> [SKIP][74] ([i915#3788]) [74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb7/igt@kms_dither@fb-8bpc-vs-panel-8bpc@edp-1-pipe-a.html * igt@kms_flip@flip-vs-suspend-interruptible@a-edp1: - shard-tglb: [PASS][75] -> [INCOMPLETE][76] ([i915#2411] / [i915#456]) +1 similar issue [75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-tglb8/igt@kms_flip@flip-vs-suspend-interruptible@a-edp1.html [76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb7/igt@kms_flip@flip-vs-suspend-interruptible@a-edp1.html * igt@kms_flip@plain-flip-ts-check-interruptible@a-hdmi-a1: - shard-glk: [PASS][77] -> [FAIL][78] ([i915#2122]) [77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-glk2/igt@kms_flip@plain-flip-ts-check-interruptible@a-hdmi-a1.html [78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-glk4/igt@kms_flip@plain-flip-ts-check-interruptible@a-hdmi-a1.html * igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile: - shard-tglb: NOTRUN -> [SKIP][79] ([i915#2587]) [79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb5/igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile.html * igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilercccs: - shard-apl: NOTRUN -> [SKIP][80] ([fdo#109271] / [i915#2672]) [80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-apl1/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilercccs.html * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-blt: - shard-iclb: NOTRUN -> [SKIP][81] ([fdo#109280]) +14 similar issues [81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-iclb6/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-blt.html * igt@kms_frontbuffer_tracking@fbc-suspend: - shard-tglb: NOTRUN -> [INCOMPLETE][82] ([i915#456]) [82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb7/igt@kms_frontbuffer_tracking@fbc-suspend.html * igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-cur-indfb-draw-mmap-gtt: - shard-tglb: NOTRUN -> [SKIP][83] ([fdo#111825]) +43 similar issues [83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb2/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-cur-indfb-draw-mmap-gtt.html * igt@kms_frontbuffer_tracking@psr-rgb565-draw-mmap-cpu: - shard-glk: NOTRUN -> [SKIP][84] ([fdo#109271]) +74 similar issues [84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-glk6/igt@kms_frontbuffer_tracking@psr-rgb565-draw-mmap-cpu.html * igt@kms_pipe_b_c_ivb@pipe-b-double-modeset-then-modeset-pipe-c: - shard-iclb: NOTRUN -> [SKIP][85] ([fdo#109289]) +1 similar issue [85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-iclb4/igt@kms_pipe_b_c_ivb@pipe-b-double-modeset-then-modeset-pipe-c.html * igt@kms_pipe_crc_basic@nonblocking-crc-pipe-d-frame-sequence: - shard-kbl: NOTRUN -> [SKIP][86] ([fdo#109271] / [i915#533]) +1 similar issue [86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-kbl7/igt@kms_pipe_crc_basic@nonblocking-crc-pipe-d-frame-sequence.html * igt@kms_plane@plane-panning-bottom-right-suspend@pipe-a-planes: - shard-apl: [PASS][87] -> [DMESG-WARN][88] ([i915#180]) [87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-apl8/igt@kms_plane@plane-panning-bottom-right-suspend@pipe-a-planes.html [88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-apl7/igt@kms_plane@plane-panning-bottom-right-suspend@pipe-a-planes.html * igt@kms_plane_alpha_blend@pipe-a-alpha-opaque-fb: - shard-apl: NOTRUN -> [FAIL][89] ([fdo#108145] / [i915#265]) +3 similar issues [89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-apl1/igt@kms_plane_alpha_blend@pipe-a-alpha-opaque-fb.html * igt@kms_plane_alpha_blend@pipe-b-alpha-basic: - shard-kbl: NOTRUN -> [FAIL][90] ([fdo#108145] / [i915#265]) [90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-kbl6/igt@kms_plane_alpha_blend@pipe-b-alpha-basic.html * igt@kms_plane_lowres@pipe-a-tiling-none: - shard-tglb: NOTRUN -> [SKIP][91] ([i915#3536]) +1 similar issue [91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb1/igt@kms_plane_lowres@pipe-a-tiling-none.html * igt@kms_plane_multiple@atomic-pipe-b-tiling-yf: - shard-tglb: NOTRUN -> [SKIP][92] ([fdo#112054]) [92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb6/igt@kms_plane_multiple@atomic-pipe-b-tiling-yf.html * igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping: - shard-apl: NOTRUN -> [SKIP][93] ([fdo#109271] / [i915#2733]) [93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-apl6/igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping.html * igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-3: - shard-glk: NOTRUN -> [SKIP][94] ([fdo#109271] / [i915#658]) +1 similar issue [94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-glk7/igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-3.html * igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-5: - shard-apl: NOTRUN -> [SKIP][95] ([fdo#109271] / [i915#658]) +6 similar issues [95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-apl3/igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-5.html * igt@kms_psr2_sf@plane-move-sf-dmg-area-0: - shard-tglb: NOTRUN -> [SKIP][96] ([i915#2920]) +2 similar issues [96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb8/igt@kms_psr2_sf@plane-move-sf-dmg-area-0.html - shard-iclb: NOTRUN -> [SKIP][97] ([i915#658]) [97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-iclb5/igt@kms_psr2_sf@plane-move-sf-dmg-area-0.html * igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-2: - shard-kbl: NOTRUN -> [SKIP][98] ([fdo#109271] / [i915#658]) +4 similar issues [98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-kbl1/igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-2.html * igt@kms_psr@psr2_cursor_plane_onoff: - shard-tglb: NOTRUN -> [FAIL][99] ([i915#132] / [i915#3467]) +3 similar issues [99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb6/igt@kms_psr@psr2_cursor_plane_onoff.html * igt@kms_psr@psr2_cursor_render: - shard-iclb: [PASS][100] -> [SKIP][101] ([fdo#109441]) [100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-iclb2/igt@kms_psr@psr2_cursor_render.html [101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-iclb1/igt@kms_psr@psr2_cursor_render.html * igt@kms_psr@psr2_sprite_render: - shard-iclb: NOTRUN -> [SKIP][102] ([fdo#109441]) [102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-iclb8/igt@kms_psr@psr2_sprite_render.html * igt@kms_vblank@pipe-d-ts-continuation-idle-hang: - shard-iclb: NOTRUN -> [SKIP][103] ([fdo#109278]) +14 similar issues [103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-iclb2/igt@kms_vblank@pipe-d-ts-continuation-idle-hang.html * igt@kms_vblank@pipe-d-wait-idle: - shard-apl: NOTRUN -> [SKIP][104] ([fdo#109271] / [i915#533]) +2 similar issues [104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-apl7/igt@kms_vblank@pipe-d-wait-idle.html * igt@kms_writeback@writeback-check-output: - shard-apl: NOTRUN -> [SKIP][105] ([fdo#109271] / [i915#2437]) [105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-apl3/igt@kms_writeback@writeback-check-output.html * igt@nouveau_crc@pipe-b-ctx-flip-skip-current-frame: - shard-apl: NOTRUN -> [SKIP][106] ([fdo#109271]) +251 similar issues [106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-apl1/igt@nouveau_crc@pipe-b-ctx-flip-skip-current-frame.html - shard-tglb: NOTRUN -> [SKIP][107] ([i915#2530]) +4 similar issues [107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb2/igt@nouveau_crc@pipe-b-ctx-flip-skip-current-frame.html - shard-iclb: NOTRUN -> [SKIP][108] ([i915#2530]) [108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-iclb4/igt@nouveau_crc@pipe-b-ctx-flip-skip-current-frame.html * igt@nouveau_crc@pipe-d-source-outp-complete: - shard-iclb: NOTRUN -> [SKIP][109] ([fdo#109278] / [i915#2530]) [109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-iclb5/igt@nouveau_crc@pipe-d-source-outp-complete.html * igt@perf@polling-parameterized: - shard-tglb: [PASS][110] -> [FAIL][111] ([i915#1542]) [110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-tglb3/igt@perf@polling-parameterized.html [111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb1/igt@perf@polling-parameterized.html * igt@perf_pmu@rc6-suspend: - shard-tglb: [PASS][112] -> [INCOMPLETE][113] ([i915#456]) +1 similar issue [112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-tglb6/igt@perf_pmu@rc6-suspend.html [113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb7/igt@perf_pmu@rc6-suspend.html * igt@prime_nv_api@i915_nv_reimport_twice_check_flink_name: - shard-tglb: NOTRUN -> [SKIP][114] ([fdo#109291]) +4 similar issues [114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb6/igt@prime_nv_api@i915_nv_reimport_twice_check_flink_name.html * igt@prime_vgem@coherency-gtt: - shard-tglb: NOTRUN -> [SKIP][115] ([fdo#111656]) [115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb3/igt@prime_vgem@coherency-gtt.html * igt@sysfs_clients@busy: - shard-iclb: NOTRUN -> [SKIP][116] ([i915#2994]) [116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-iclb2/igt@sysfs_clients@busy.html * igt@sysfs_clients@fair-0: - shard-apl: NOTRUN -> [SKIP][117] ([fdo#109271] / [i915#2994]) +1 similar issue [117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-apl3/igt@sysfs_clients@fair-0.html * igt@sysfs_clients@sema-10: - shard-glk: NOTRUN -> [SKIP][118] ([fdo#109271] / [i915#2994]) [118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-glk2/igt@sysfs_clients@sema-10.html * igt@sysfs_clients@sema-25: - shard-kbl: NOTRUN -> [SKIP][119] ([fdo#109271] / [i915#2994]) +1 similar issue [119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-kbl3/igt@sysfs_clients@sema-25.html #### Possible fixes #### * igt@fbdev@read: - shard-kbl: [FAIL][120] -> [PASS][121] [120]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-kbl7/igt@fbdev@read.html [121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-kbl7/igt@fbdev@read.html - shard-glk: [FAIL][122] -> [PASS][123] [122]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-glk9/igt@fbdev@read.html [123]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-glk3/igt@fbdev@read.html - shard-apl: [FAIL][124] -> [PASS][125] [124]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-apl7/igt@fbdev@read.html [125]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-apl6/igt@fbdev@read.html - shard-tglb: [FAIL][126] -> [PASS][127] [126]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-tglb6/igt@fbdev@read.html [127]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb6/igt@fbdev@read.html - shard-snb: [FAIL][128] -> [PASS][129] [128]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-snb2/igt@fbdev@read.html [129]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-snb6/igt@fbdev@read.html - shard-iclb: [FAIL][130] -> [PASS][131] [130]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-iclb7/igt@fbdev@read.html [131]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-iclb2/igt@fbdev@read.html * igt@gem_ctx_isolation@preservation-s3@rcs0: - shard-tglb: [INCOMPLETE][132] ([i915#1373]) -> [PASS][133] [132]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-tglb7/igt@gem_ctx_isolation@preservation-s3@rcs0.html [133]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-tglb6/igt@gem_ctx_isolation@preservation-s3@rcs0.html * igt@gem_exec_fair@basic-none-rrul@rcs0: - shard-kbl: [FAIL][134] ([i915#2842]) -> [PASS][135] [134]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-kbl7/igt@gem_exec_fair@basic-none-rrul@rcs0.html [135]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-kbl6/igt@gem_exec_fair@basic-none-rrul@rcs0.html * igt@gem_exec_fair@basic-none-share@rcs0: - shard-iclb: [FAIL][136] ([i915#2842]) -> [PASS][137] +1 similar issue [136]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10562/shard-iclb2/igt@gem_exec_fair@basic-none-share@rcs0.html [137]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/shard-iclb3/igt@gem_exec_fair@basic-none-share@rcs0.html * igt@gem_exec_fair@basic-pace-share@rcs0: - shard-tglb: [FAIL][138] ([i915#2842]) -> [PASS][139] [138]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DR == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6209/index.html [-- Attachment #2: Type: text/html, Size: 33804 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [igt-dev] [PATCH i-g-t v2] tests/kms_prime: Create the exporting BO with smem placement 2021-09-08 10:41 [igt-dev] [PATCH i-g-t v2] tests/kms_prime: Create the exporting BO with smem placement Ramalingam C 2021-09-08 11:31 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork 2021-09-08 15:05 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork @ 2021-09-08 20:50 ` Dixit, Ashutosh 2021-09-08 20:59 ` Ruhl, Michael J 2 siblings, 1 reply; 5+ messages in thread From: Dixit, Ashutosh @ 2021-09-08 20:50 UTC (permalink / raw) To: Ramalingam C; +Cc: igt-dev, Chris_intel_ID, Michael Ruhl On Wed, 08 Sep 2021 03:41:37 -0700, Ramalingam C wrote: > > On i915, to avail the dmabuf, the sharing object needs to migratable > into smem. So if the shared object is lmem, then it needs to have the > smem as second placement option. > > Currently kms_prime sharing the dumb buffer between the devices. > But dumb buffer can't have the placements and resides at lmem for the > dgfx. Hence to meet the i915 expectation for dgfx, we create the BO > using the gem_create with smem as second placement option. Maybe someone else should also take a look at the premise and the patch but it looks ok to me overall so: Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com> > v2: Used gem_mmap__device_coherent for mmaped ptr (Ashutosh) > > Signed-off-by: Ramalingam C <ramalingam.c@intel.com> > --- > tests/kms_prime.c | 23 +++++++++++------------ > 1 file changed, 11 insertions(+), 12 deletions(-) > > diff --git a/tests/kms_prime.c b/tests/kms_prime.c > index 2e20c58bc16e..ccbb2feadd29 100644 > --- a/tests/kms_prime.c > +++ b/tests/kms_prime.c > @@ -100,18 +100,17 @@ static void prepare_scratch(int exporter_fd, struct dumb_bo *scratch, > scratch->height = mode->vdisplay; > scratch->bpp = 32; > > - scratch->handle = kmstest_dumb_create(exporter_fd, > - ALIGN(scratch->width, 256), > - scratch->height, > - scratch->bpp, > - &scratch->pitch, > - &scratch->size); > - > - > - ptr = kmstest_dumb_map_buffer(exporter_fd, > - scratch->handle, > - scratch->size, > - PROT_WRITE); > + igt_calc_fb_size(exporter_fd, mode->hdisplay, mode->vdisplay, DRM_FORMAT_XRGB8888, > + DRM_FORMAT_MOD_NONE, &scratch->size, &scratch->pitch); > + if (gem_has_lmem(exporter_fd)) > + scratch->handle = gem_create_in_memory_regions(exporter_fd, scratch->size, > + REGION_LMEM(0), REGION_SMEM); > + else > + scratch->handle = gem_create_in_memory_regions(exporter_fd, scratch->size, > + REGION_SMEM); > + > + ptr = gem_mmap__device_coherent(exporter_fd, scratch->handle, 0, scratch->size, > + PROT_WRITE | PROT_READ); > > for (size_t idx = 0; idx < scratch->size / sizeof(*ptr); ++idx) > ptr[idx] = color; > -- > 2.20.1 > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [igt-dev] [PATCH i-g-t v2] tests/kms_prime: Create the exporting BO with smem placement 2021-09-08 20:50 ` [igt-dev] [PATCH i-g-t v2] " Dixit, Ashutosh @ 2021-09-08 20:59 ` Ruhl, Michael J 0 siblings, 0 replies; 5+ messages in thread From: Ruhl, Michael J @ 2021-09-08 20:59 UTC (permalink / raw) To: Dixit, Ashutosh, C, Ramalingam; +Cc: igt-dev, Wilson, Chris P >-----Original Message----- >From: Dixit, Ashutosh <ashutosh.dixit@intel.com> >Sent: Wednesday, September 8, 2021 4:50 PM >To: C, Ramalingam <ramalingam.c@intel.com> >Cc: igt-dev <igt-dev@lists.freedesktop.org>; Wilson, Chris P ><chris.p.wilson@intel.com>; Ruhl, Michael J <michael.j.ruhl@intel.com> >Subject: Re: [PATCH i-g-t v2] tests/kms_prime: Create the exporting BO with >smem placement > >On Wed, 08 Sep 2021 03:41:37 -0700, Ramalingam C wrote: >> >> On i915, to avail the dmabuf, the sharing object needs to migratable >> into smem. So if the shared object is lmem, then it needs to have the >> smem as second placement option. >> >> Currently kms_prime sharing the dumb buffer between the devices. >> But dumb buffer can't have the placements and resides at lmem for the >> dgfx. Hence to meet the i915 expectation for dgfx, we create the BO >> using the gem_create with smem as second placement option. > >Maybe someone else should also take a look at the premise and the patch but >it looks ok to me overall so: This looks reasonable to me as well. Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com> M >Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com> > >> v2: Used gem_mmap__device_coherent for mmaped ptr (Ashutosh) >> >> Signed-off-by: Ramalingam C <ramalingam.c@intel.com> >> --- >> tests/kms_prime.c | 23 +++++++++++------------ >> 1 file changed, 11 insertions(+), 12 deletions(-) >> >> diff --git a/tests/kms_prime.c b/tests/kms_prime.c >> index 2e20c58bc16e..ccbb2feadd29 100644 >> --- a/tests/kms_prime.c >> +++ b/tests/kms_prime.c >> @@ -100,18 +100,17 @@ static void prepare_scratch(int exporter_fd, struct >dumb_bo *scratch, >> scratch->height = mode->vdisplay; >> scratch->bpp = 32; >> >> - scratch->handle = kmstest_dumb_create(exporter_fd, >> - ALIGN(scratch->width, 256), >> - scratch->height, >> - scratch->bpp, >> - &scratch->pitch, >> - &scratch->size); >> - >> - >> - ptr = kmstest_dumb_map_buffer(exporter_fd, >> - scratch->handle, >> - scratch->size, >> - PROT_WRITE); >> + igt_calc_fb_size(exporter_fd, mode->hdisplay, mode->vdisplay, >DRM_FORMAT_XRGB8888, >> + DRM_FORMAT_MOD_NONE, &scratch->size, >&scratch->pitch); >> + if (gem_has_lmem(exporter_fd)) >> + scratch->handle = >gem_create_in_memory_regions(exporter_fd, scratch->size, >> + REGION_LMEM(0), >REGION_SMEM); >> + else >> + scratch->handle = >gem_create_in_memory_regions(exporter_fd, scratch->size, >> + REGION_SMEM); >> + >> + ptr = gem_mmap__device_coherent(exporter_fd, scratch->handle, >0, scratch->size, >> + PROT_WRITE | PROT_READ); >> >> for (size_t idx = 0; idx < scratch->size / sizeof(*ptr); ++idx) >> ptr[idx] = color; >> -- >> 2.20.1 >> ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-09-08 20:59 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-09-08 10:41 [igt-dev] [PATCH i-g-t v2] tests/kms_prime: Create the exporting BO with smem placement Ramalingam C 2021-09-08 11:31 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork 2021-09-08 15:05 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork 2021-09-08 20:50 ` [igt-dev] [PATCH i-g-t v2] " Dixit, Ashutosh 2021-09-08 20:59 ` Ruhl, Michael J
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.