Skip to contentSkip to conversation

tests/kms_big_fb: Make sure huge fbs work correctly

PATCH Superseded Ville Syrjala 2 participants 3 messages Sep 11, 2018 – Sep 12, 2018 Arm/Amlogic Meson SoC support

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/kms_big_fb: Make sure huge fbs work correctly

From: Ville Syrjälä <[email protected]>

Add various tests to excercise huge framebuffers. First some basic sanity checks that the kernel accepts/rejects good/bad addfb2 ioctls, and finally actual scanout tests to make sure we scan out the correct thing from top-left and bottom-right of large framebuffers.

TODO: Need to rewrite not to render via cairo because that's super slow when you're dealing with 4GiB framebuffers.

---
 tests/Makefile.sources |   1 +
 tests/kms_big_fb.c     | 414 +++++++++++++++++++++++++++++++++++++++++++++++++
 tests/meson.build      |   1 +
 3 files changed, 416 insertions(+)
 create mode 100644 tests/kms_big_fb.c
tests/Makefile.sources +1 -0
index c84933f1d971..5a7da4854f1c 100644
@@ -169,6 +169,7 @@ TESTS_progs = \
 	kms_atomic_interruptible \
 	kms_atomic_transition \
 	kms_available_modes_crc \
+	kms_big_fb \
 	kms_busy \
 	kms_ccs \
 	kms_chv_cursor_fail \
tests/kms_big_fb.c new file +414 -0

414 lines not on this page · raw message

tests/meson.build +1 -0
index 17deb945ec95..797013c5e5b9 100644
@@ -144,6 +144,7 @@ test_progs = [
 	'kms_atomic_interruptible',
 	'kms_atomic_transition',
 	'kms_available_modes_crc',
+	'kms_big_fb',
 	'kms_busy',
 	'kms_ccs',
 	'kms_chv_cursor_fail',
Signature · 6 lines
2.16.4

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#1 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for tests/kms_big_fb: Make sure huge fbs work correctly

== Series Details ==

== Series Details ==

Series: tests/kms_big_fb: Make sure huge fbs work correctly
URL : https://patchwork.freedesktop.org/series/49494/
State : success

== Summary ==

= CI Bug Log - changes from CI_DRM_4798 -> IGTPW_1824 =

== Summary - SUCCESS ==

No regressions found.

External URL: https://patchwork.freedesktop.org/api/1.0/series/49494/revisions/1/mbox/

== Known issues ==

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

=== IGT changes ===

    ==== Issues hit ====

    igt@amdgpu/amd_basic@userptr:
      fi-kbl-8809g:       PASS -> INCOMPLETE (fdo#107402)

    igt@drv_module_reload@basic-reload:
      fi-blb-e6850:       NOTRUN -> INCOMPLETE (fdo#107718)

    igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
      fi-byt-clapper:     PASS -> FAIL (fdo#103191, fdo#107362)

    igt@kms_setmode@basic-clone-single-crtc:
      fi-ilk-650:         PASS -> DMESG-WARN (fdo#106387)

    
    ==== Possible fixes ====

    igt@kms_frontbuffer_tracking@basic:
      fi-byt-clapper:     FAIL (fdo#103167) -> PASS

    igt@kms_pipe_crc_basic@hang-read-crc-pipe-a:
      fi-byt-clapper:     FAIL (fdo#103191, fdo#107362) -> PASS

    igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
      fi-blb-e6850:       INCOMPLETE (fdo#107718) -> PASS

    igt@prime_vgem@basic-fence-flip:
      fi-ilk-650:         FAIL (fdo#104008) -> PASS

fdo#103167 https://bugs.freedesktop.org/show_bug.cgi?id=103167
fdo#103191 https://bugs.freedesktop.org/show_bug.cgi?id=103191
fdo#104008 https://bugs.freedesktop.org/show_bug.cgi?id=104008
fdo#106387 https://bugs.freedesktop.org/show_bug.cgi?id=106387
fdo#107362 https://bugs.freedesktop.org/show_bug.cgi?id=107362
fdo#107402 https://bugs.freedesktop.org/show_bug.cgi?id=107402
fdo#107718 https://bugs.freedesktop.org/show_bug.cgi?id=107718

== Participating hosts (48 -> 44) ==

Additional (1): fi-hsw-4770r
Missing (5): fi-ctg-p8600 fi-ilk-m540 fi-byt-squawks fi-bsw-cyan fi-hsw-4200u

== Build changes ==

* IGT: IGT_4637 -> IGTPW_1824

CI_DRM_4798: b35a9812b9bbb5b562fd5b4faf7bf06fc80f59ee @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_1824: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1824/
IGT_4637: 57e3d826dee154cb8664667db7660d854a707fc6 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Testlist changes ==

+igt@kms_big_fb@linear-addfb +igt@kms_big_fb@linear-scanout +igt@kms_big_fb@x-tiled-addfb +igt@kms_big_fb@x-tiled-addfb-size-offset-overflow +igt@kms_big_fb@x-tiled-addfb-size-overflow +igt@kms_big_fb@x-tiled-scanout +igt@kms_big_fb@y-tiled-addfb +igt@kms_big_fb@y-tiled-addfb-size-offset-overflow +igt@kms_big_fb@y-tiled-addfb-size-overflow +igt@kms_big_fb@y-tiled-scanout

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1824/issues.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#2 lore raw

[igt-dev] ✓ Fi.CI.IGT: success for tests/kms_big_fb: Make sure huge fbs work correctly

In reply to Ville Syrjala
== Series Details ==

== Series Details ==

Series: tests/kms_big_fb: Make sure huge fbs work correctly
URL : https://patchwork.freedesktop.org/series/49494/
State : success

== Summary ==

= CI Bug Log - changes from IGT_4637_full -> IGTPW_1824_full =

== Summary - WARNING ==

Minor unknown changes coming with IGTPW_1824_full need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in IGTPW_1824_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://patchwork.freedesktop.org/api/1.0/series/49494/revisions/1/mbox/

== Possible new issues ==

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

=== IGT changes ===

    ==== Possible regressions ====

    {igt@kms_big_fb@linear-scanout}:
      shard-snb:          NOTRUN -> FAIL +3
      shard-hsw:          NOTRUN -> FAIL +3

    {igt@kms_big_fb@x-tiled-addfb-size-offset-overflow}:
      shard-glk:          NOTRUN -> FAIL +4

    {igt@kms_big_fb@y-tiled-addfb-size-offset-overflow}:
      shard-kbl:          NOTRUN -> FAIL +2

    {igt@kms_big_fb@y-tiled-scanout}:
      shard-apl:          NOTRUN -> FAIL

    
    ==== Warnings ====

    igt@tools_test@tools_test:
      shard-apl:          SKIP -> PASS
      shard-glk:          SKIP -> PASS
      shard-snb:          SKIP -> PASS +1
      shard-hsw:          SKIP -> PASS +1
      shard-kbl:          SKIP -> PASS

== Known issues ==

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

=== IGT changes ===

    ==== Issues hit ====

    igt@drv_suspend@shrink:
      shard-glk:          PASS -> INCOMPLETE (k.org#198133, fdo#106886, fdo#103359)

    igt@kms_atomic_transition@plane-all-modeset-transition-fencing:
      shard-glk:          PASS -> INCOMPLETE (k.org#198133, fdo#103359) +1

    igt@kms_cursor_legacy@cursor-vs-flip-toggle:
      shard-hsw:          PASS -> FAIL (fdo#103355)

    igt@kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-wc:
      shard-glk:          PASS -> FAIL (fdo#103167)

    igt@kms_setmode@basic:
      shard-apl:          PASS -> FAIL (fdo#99912)

    igt@kms_sysfs_edid_timing:
      shard-hsw:          PASS -> WARN (fdo#100047)
      shard-glk:          PASS -> WARN (fdo#100047)

    
    ==== Possible fixes ====

    igt@gem_ctx_isolation@bcs0-s3:
      shard-kbl:          INCOMPLETE (fdo#103665) -> PASS

    igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy:
      shard-hsw:          FAIL (fdo#105767) -> PASS +1

    igt@kms_flip@dpms-vs-vblank-race-interruptible:
      shard-glk:          FAIL (fdo#103060) -> PASS

    igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-mmap-wc:
      shard-glk:          FAIL (fdo#103167) -> PASS

    igt@kms_setmode@basic:
      shard-kbl:          FAIL (fdo#99912) -> PASS

    igt@perf@blocking:
      shard-hsw:          FAIL (fdo#107900) -> PASS

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

fdo#100047 https://bugs.freedesktop.org/show_bug.cgi?id=100047
fdo#103060 https://bugs.freedesktop.org/show_bug.cgi?id=103060
fdo#103167 https://bugs.freedesktop.org/show_bug.cgi?id=103167
fdo#103355 https://bugs.freedesktop.org/show_bug.cgi?id=103355
fdo#103359 https://bugs.freedesktop.org/show_bug.cgi?id=103359
fdo#103665 https://bugs.freedesktop.org/show_bug.cgi?id=103665
fdo#105767 https://bugs.freedesktop.org/show_bug.cgi?id=105767
fdo#106886 https://bugs.freedesktop.org/show_bug.cgi?id=106886
fdo#107900 https://bugs.freedesktop.org/show_bug.cgi?id=107900
fdo#99912 https://bugs.freedesktop.org/show_bug.cgi?id=99912
k.org#198133 https://bugzilla.kernel.org/show_bug.cgi?id=198133

== Participating hosts (5 -> 5) ==

No changes in participating hosts

== Build changes ==

* IGT: IGT_4637 -> IGTPW_1824
* Linux: CI_DRM_4791 -> CI_DRM_4798

CI_DRM_4791: 07cf212bc704357ee60aba52ec40bab538222040 @ git://anongit.freedesktop.org/gfx-ci/linux
CI_DRM_4798: b35a9812b9bbb5b562fd5b4faf7bf06fc80f59ee @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_1824: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1824/
IGT_4637: 57e3d826dee154cb8664667db7660d854a707fc6 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1824/shards.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev