drm_format_helper_test fails Subtest: drm_test_fb_xrgb8888_to_xrgb2101010 on Big Endian machines (kernel 6.7.5, ppc64)

From: Erhard Furtner
Date: Mon Feb 19 2024 - 18:46:14 EST


Greetings!

I ran some kernel drm/ttm unit tests to check for quirks in the drm/ttm subsystem. One thing I found out that the drm_format_helper_test fails Subtest: drm_test_fb_xrgb8888_to_xrgb2101010 on my Talos II (ppc64) which I run in BigEndian mode:

[...]
KTAP version 1
# Subtest: drm_test_fb_xrgb8888_to_xrgb2101010
# drm_test_fb_xrgb8888_to_xrgb2101010: EXPECTATION FAILED at drivers/gpu/drm/tests/drm_format_helper_test.c:995
Expected buf == result->expected, but
buf ==
<00><00><f0><3f>
result->expected ==
<3f><f0><00><00>
not ok 1 single_pixel_source_buffer
# drm_test_fb_xrgb8888_to_xrgb2101010: EXPECTATION FAILED at drivers/gpu/drm/tests/drm_format_helper_test.c:995
Expected buf == result->expected, but
buf ==
<00><00><f0><3f>
result->expected ==
<3f><f0><00><00>
not ok 2 single_pixel_clip_rectangle
# drm_test_fb_xrgb8888_to_xrgb2101010: EXPECTATION FAILED at drivers/gpu/drm/tests/drm_format_helper_test.c:995
Expected buf == result->expected, but
buf ==
<ff> ff ff <3f> 00 00 00 00 <00><00><f0><3f> 00 <fc><0f> 00
<ff><03><00><00><ff><03><f0><3f><00><fc><ff><3f><ff><ff><0f><00>
result->expected ==
<3f> ff ff <ff> 00 00 00 00 <3f><f0><00><00> 00 <0f><fc> 00
<00><00><03><ff><3f><f0><03><ff><3f><ff><fc><00><00><0f><ff><ff>
not ok 3 well_known_colors
# drm_test_fb_xrgb8888_to_xrgb2101010: EXPECTATION FAILED at drivers/gpu/drm/tests/drm_format_helper_test.c:995
Expected buf == result->expected, but
buf ==
<72><46><84><03><14><d4><44><04><0c><3c><2f><2a> 00 00 00 00
00 00 00 00 <cd><0d><1f><1b><72><46><84><03><14><d4><44><04>
00 00 00 00 00 00 00 00 <0c><30><20><2a><cd><0d><1f><1b>
<72><46><84><03> 00 00 00 00 00 00 00 00
result->expected ==
<03><84><46><72><04><44><d4><14><2a><2f><3c><0c> 00 00 00 00
00 00 00 00 <1b><1f><0d><cd><03><84><46><72><04><44><d4><14>
00 00 00 00 00 00 00 00 <2a><20><30><0c><1b><1f><0d><cd>
<03><84><46><72> 00 00 00 00 00 00 00 00
not ok 4 destination_pitch
# drm_test_fb_xrgb8888_to_xrgb2101010: pass:0 fail:4 skip:0 total:4
not ok 9 drm_test_fb_xrgb8888_to_xrgb2101010
[...]

Looking at these results I suspect this to be an endian issue, probably affecting other BE arches too.

Full dmesg + kernel .config attached.

Regards,
Erhard F.
[ 6.569285] netconsole: network logging started
[ 0.000000] entry-flush: disabled on command line.
[ 6.604859] clk: Disabling unused clocks
[ 6.652263] BTRFS: device label p9 devid 1 transid 245684 /dev/root scanned by swapper/0 (1)
[ 6.688197] BTRFS info (device nvme0n1p3): first mount of filesystem 691e8915-055d-43f2-b80d-c130a54ba4b6
[ 6.723675] BTRFS info (device nvme0n1p3): using xxhash64 (xxhash64-generic) checksum algorithm
[ 6.759242] BTRFS info (device nvme0n1p3): using free space tree
[ 6.795316] BTRFS warning (device nvme0n1p3): tree block not nodesize aligned, start 127231512576 nodesize 16384, can be resolved by a full metadata balance
[ 6.921590] BTRFS info (device nvme0n1p3): enabling ssd optimizations
[ 6.958653] BTRFS info (device nvme0n1p3): auto enabling async discard
[ 7.009878] VFS: Mounted root (btrfs filesystem) readonly on device 0:16.
[ 7.047594] devtmpfs: mounted
[ 7.084256] Freeing unused kernel image (initmem) memory: 2548K
[ 7.365588] Checked W+X mappings: passed, no W+X pages found
[ 7.401459] rodata_test: all tests were successful
[ 7.437173] Run /sbin/init as init process
[ 7.612701] systemd[1]: systemd 254 running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA +SMACK +SECCOMP -GCRYPT +GNUTLS +OPENSSL +ACL +BLKID -CURL +ELFUTILS -FIDO2 +IDN2 -IDN -IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP -SYSVINIT default-hierarchy=unified)
[ 7.725414] systemd[1]: Detected architecture ppc64.
[ 7.872379] systemd[1]: Hostname set to <T1000>.
[ 7.975001] systemd-gpt-auto-generator[305]: File system behind root file system is reported by btrfs to be backed by pseudo-device /dev/root, which is not a valid userspace accessible device node. Cannot determine correct backing block device.
[ 8.052296] (sd-execu[297]: /lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
[ 8.241915] systemd[1]: Queued start job for default target graphical.target.
[ 8.301649] systemd[1]: Created slice system-getty.slice.
[ 8.382246] systemd[1]: Created slice system-modprobe.slice.
[ 8.463667] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 8.546459] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 8.629036] systemd[1]: Created slice system-vncserver.slice.
[ 8.712317] systemd[1]: Created slice user.slice.
[ 8.795976] systemd[1]: Started systemd-ask-password-console.path.
[ 8.881846] systemd[1]: Started systemd-ask-password-wall.path.
[ 8.969220] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount.
[ 9.058103] systemd[1]: Expecting device dev-disk-by\x2dlabel-boot.device...
[ 9.148783] systemd[1]: Expecting device dev-disk-by\x2dlabel-swap.device...
[ 9.240942] systemd[1]: Expecting device dev-hvc0.device...
[ 9.331614] systemd[1]: Reached target cryptsetup.target.
[ 9.421730] systemd[1]: Reached target integritysetup.target.
[ 9.509978] systemd[1]: Reached target paths.target.
[ 9.598394] systemd[1]: Reached target remote-fs.target.
[ 9.686688] systemd[1]: Reached target slices.target.
[ 9.775137] systemd[1]: Reached target veritysetup.target.
[ 9.866223] systemd[1]: Listening on systemd-coredump.socket.
[ 9.951998] systemd[1]: Listening on systemd-journald-dev-log.socket.
[ 10.036715] systemd[1]: Listening on systemd-journald.socket.
[ 10.123186] systemd[1]: Listening on systemd-networkd.socket.
[ 10.210362] systemd[1]: Listening on systemd-udevd-control.socket.
[ 10.295173] systemd[1]: Listening on systemd-udevd-kernel.socket.
[ 10.410766] systemd[1]: Mounting dev-hugepages.mount...
[ 10.496341] systemd[1]: Mounting dev-mqueue.mount...
[ 10.582298] systemd[1]: Mounting sys-kernel-debug.mount...
[ 10.665351] systemd[1]: sys-kernel-tracing.mount was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
[ 10.751412] systemd[1]: Starting kmod-static-nodes.service...
[ 10.838014] systemd[1]: Starting modprobe@configfs.service...
[ 10.925779] systemd[1]: Starting modprobe@dm_mod.service...
[ 10.982976] device-mapper: uevent: version 1.0.3
[ 10.984123] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@xxxxxxxxxx
[ 11.097933] systemd[1]: Starting modprobe@drm.service...
[ 11.183583] systemd[1]: Starting modprobe@fuse.service...
[ 11.268287] systemd[1]: Starting modprobe@loop.service...
[ 11.331038] loop: module loaded
[ 11.392740] systemd[1]: Starting systemd-fsck-root.service...
[ 11.478530] systemd[1]: Starting systemd-journald.service...
[ 11.549876] systemd-journald[335]: Collecting audit messages is disabled.
[ 11.604726] systemd[1]: Starting systemd-modules-load.service...
[ 11.661562] powernv-cpufreq: cpufreq pstate min 0x63 nominal 0x42 max 0x0
[ 11.661566] powernv-cpufreq: Workload Optimized Frequency is enabled in the platform
[ 11.666712] Asymmetric key parser 'pkcs8' registered
[ 11.844428] systemd[1]: Starting systemd-udev-trigger.service...
[ 11.929390] systemd[1]: Starting zram_var_tmp.service...
[ 11.983299] zram: Added device: zram0
[ 11.983478] zram: Added device: zram1
[ 11.983649] zram: Added device: zram2
[ 12.032912] zram1: detected capacity change from 0 to 100663296
[ 12.175794] systemd[1]: Started systemd-journald.service.
[ 13.674450] BTRFS info (device nvme0n1p3: state M): use zstd compression, level 1
[ 13.875518] systemd-journald[335]: Received client request to flush runtime journal.
[ 13.894165] EXT4-fs (zram1): mounting ext2 file system using the ext4 subsystem
[ 13.897187] EXT4-fs (zram1): mounted filesystem 063820dd-15e5-43b1-8e13-b974c6aadadf r/w without journal. Quota mode: disabled.
[ 14.062697] systemd-journald[335]: /var/log/journal/3f89104fd8e846edb53c46af433b901e/system.journal: Journal file uses a different sequence number ID, rotating.
[ 14.062706] systemd-journald[335]: Rotating system journal.
[ 14.535782] tg3 0004:01:00.1 enP4p1s0f1: renamed from eth1
[ 14.624261] tg3 0004:01:00.0 enP4p1s0f0: renamed from eth0 (while UP)
[ 14.677517] at24 0-0050: 65536 byte 24c512 EEPROM, writable, 1 bytes/write
[ 14.683239] 6 fixed-partitions partitions found on MTD device flash@0
[ 14.690192] usbcore: registered new interface driver usbfs
[ 14.690285] usbcore: registered new interface driver hub
[ 14.690418] usbcore: registered new device driver usb
[ 14.754585] at24 2-0050: 16384 byte 24c128 EEPROM, writable, 1 bytes/write
[ 14.768667] Creating 6 MTD partitions on "flash@0":
[ 14.774427] [drm] radeon kernel modesetting enabled.
[ 14.774617] radeon 0033:01:00.0: enabling device (0140 -> 0142)
[ 14.776755] [drm] initializing kernel modesetting (RV515 0x1002:0x7183 0x1028:0x0302 0x00).
[ 14.776774] [drm:radeon_device_init [radeon]] *ERROR* Unable to find PCI I/O BAR
[ 14.776833] radeon 0033:01:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x0000
[ 14.812492] [drm:radeon_atombios_init [radeon]] *ERROR* Unable to find PCI I/O BAR; using MMIO for ATOM IIO
[ 14.821841] at24 3-0050: 256 byte spd EEPROM, read-only
[ 14.822198] at24 3-0052: 256 byte spd EEPROM, read-only
[ 14.822524] at24 4-0054: 256 byte spd EEPROM, read-only
[ 14.822874] at24 4-0056: 256 byte spd EEPROM, read-only
[ 14.823137] at24 5-0050: 65536 byte 24c512 EEPROM, writable, 1 bytes/write
[ 14.833448] 0x000000000000-0x000004000000 : "PNOR"
[ 14.862046] ATOM BIOS: 113
[ 14.873454] at24 7-0050: 256 byte spd EEPROM, read-only
[ 14.874160] at24 7-0052: 256 byte spd EEPROM, read-only
[ 14.874850] at24 8-0054: 256 byte spd EEPROM, read-only
[ 14.875587] at24 8-0056: 256 byte spd EEPROM, read-only
[ 14.894286] 0x000001b21000-0x000003921000 : "BOOTKERNEL"
[ 14.920914] xhci_hcd 0003:01:00.0: xHCI Host Controller
[ 14.920941] xhci_hcd 0003:01:00.0: new USB bus registered, assigned bus number 1
[ 14.921109] xhci_hcd 0003:01:00.0: hcc params 0x0270f06d hci version 0x96 quirks 0x0000000004000000
[ 14.921834] xhci_hcd 0003:01:00.0: xHCI Host Controller
[ 14.921842] xhci_hcd 0003:01:00.0: new USB bus registered, assigned bus number 2
[ 14.921851] xhci_hcd 0003:01:00.0: Host supports USB 3.0 SuperSpeed
[ 14.921990] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.07
[ 14.921994] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 14.921997] usb usb1: Product: xHCI Host Controller
[ 14.922000] usb usb1: Manufacturer: Linux 6.7.5-gentoo-P9 xhci-hcd
[ 14.922002] usb usb1: SerialNumber: 0003:01:00.0
[ 14.922448] hub 1-0:1.0: USB hub found
[ 14.922476] hub 1-0:1.0: 4 ports detected
[ 14.923011] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 14.923151] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.07
[ 14.923158] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 14.923162] usb usb2: Product: xHCI Host Controller
[ 14.923165] usb usb2: Manufacturer: Linux 6.7.5-gentoo-P9 xhci-hcd
[ 14.923168] usb usb2: SerialNumber: 0003:01:00.0
[ 14.923562] hub 2-0:1.0: USB hub found
[ 14.923593] hub 2-0:1.0: 4 ports detected
[ 14.927114] [drm] Generation 2 PCI interface, using max accessible memory
[ 14.960429] 0x000003a44000-0x000003a68000 : "CAPP"
[ 14.995366] radeon 0033:01:00.0: VRAM: 256M 0x0000000000000000 - 0x000000000FFFFFFF (256M used)
[ 14.995371] radeon 0033:01:00.0: GTT: 512M 0x0000000010000000 - 0x000000002FFFFFFF
[ 14.995476] [drm] Detected VRAM RAM=256M, BAR=256M
[ 15.030955] 0x000003a88000-0x000003a89000 : "VERSION"
[ 15.067739] [drm] RAM width 128bits DDR
[ 15.067743] radeon 0033:01:00.0: dma_iommu_get_required_mask: returning bypass mask 0xfffffffffffffff
[ 15.105455] 0x000003a89000-0x000003ac9000 : "IMA_CATALOG"
[ 15.143950] [drm] radeon: 256M of VRAM memory ready
[ 15.179779] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 15.181966] 0x000003e10000-0x000004000000 : "BOOTKERNFW"
[ 15.218812] [drm] radeon: 512M of GTT memory ready.
[ 15.326257] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=32.98
[ 15.330893] [drm] GART: num cpu pages 131072, num gpu pages 131072
[ 15.366434] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 15.366439] usb 1-1: Product: USB2.0 Hub
[ 15.378454] hub 1-1:1.0: USB hub found
[ 15.406045] [drm] radeon: 1 quad pipes, 1 z pipes initialized.
[ 15.440769] hub 1-1:1.0: 4 ports detected
[ 15.486078] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
[ 15.653113] usb 1-4: new high-speed USB device number 3 using xhci_hcd
[ 15.656075] radeon 0033:01:00.0: WB enabled
[ 15.836266] usb 1-4: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=32.98
[ 15.860269] radeon 0033:01:00.0: fence driver on ring 0 use gpu addr 0x0000000010000000
[ 15.891534] usb 1-4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 15.909760] usb 1-1.1: new low-speed USB device number 4 using xhci_hcd
[ 15.925608] radeon 0033:01:00.0: radeon: MSI limited to 32-bit
[ 15.954577] usb 1-4: Product: USB2.0 Hub
[ 15.986787] [drm] radeon: irq initialized.
[ 16.034635] hub 1-4:1.0: USB hub found
[ 16.049295] usb 1-1.1: New USB device found, idVendor=04d9, idProduct=0006, bcdDevice= 1.40
[ 16.049299] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 16.049301] usb 1-1.1: Product: RPI Wired Keyboard 5
[ 16.049303] usb 1-1.1: Manufacturer:
[ 16.052042] [drm] Loading R500 Microcode
[ 16.084434] hub 1-4:1.0: 4 ports detected
[ 16.117249] Loading firmware: radeon/R520_cp.bin
[ 16.130272] hid: raw HID events driver (C) Jiri Kosina
[ 16.163116] usb 1-1.3: new low-speed USB device number 5 using xhci_hcd
[ 16.182861] usbcore: registered new interface driver usbhid
[ 16.339894] usb 1-1.3: New USB device found, idVendor=275d, idProduct=0ba6, bcdDevice= 1.00
[ 16.345588] usbhid: USB HID core driver
[ 16.345899] [drm] radeon: ring at 0x0000000010001000
[ 16.345939] [drm] ring test succeeded in 7 usecs
[ 16.346229] [drm] ib test succeeded in 0 usecs
[ 16.346235] stackdepot: allocating hash table of 1048576 entries via kvcalloc
[ 16.351168] [drm] Radeon Display Connectors
[ 16.351170] [drm] Connector 0:
[ 16.351171] [drm] DVI-I-1
[ 16.351172] [drm] HPD1
[ 16.351173] [drm] DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
[ 16.351175] [drm] Encoders:
[ 16.351176] [drm] CRT1: INTERNAL_KLDSCP_DAC1
[ 16.351178] [drm] DFP1: INTERNAL_KLDSCP_TMDS1
[ 16.351178] [drm] Connector 1:
[ 16.351179] [drm] SVIDEO-1
[ 16.351180] [drm] Encoders:
[ 16.351181] [drm] TV1: INTERNAL_KLDSCP_DAC2
[ 16.351182] [drm] Connector 2:
[ 16.351183] [drm] VGA-1
[ 16.351183] [drm] DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
[ 16.351185] [drm] Encoders:
[ 16.351186] [drm] CRT2: INTERNAL_KLDSCP_DAC2
[ 16.351207] [drm] Initialized radeon 2.50.0 20080528 for 0033:01:00.0 on minor 0
[ 16.376731] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 16.425232] input: RPI Wired Keyboard 5 as /devices/pci0003:00/0003:00:00.0/0003:01:00.0/usb1/1-1/1-1.1/1-1.1:1.0/0003:04D9:0006.0001/input/input0
[ 16.441919] usb 1-1.3: Product: USB OPTICAL MOUSE
[ 16.460123] radeon 0033:01:00.0: [drm] Cannot find any crtc or sizes
[ 16.530821] hid-generic 0003:04D9:0006.0001: input,hidraw0: USB HID v1.11 Keyboard [ RPI Wired Keyboard 5] on usb-0003:01:00.0-1.1/input0
[ 16.550105] radeon 0033:01:00.0: [drm] Cannot find any crtc or sizes
[ 16.557943] input: USB OPTICAL MOUSE as /devices/pci0003:00/0003:00:00.0/0003:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:275D:0BA6.0003/input/input1
[ 16.558008] hid-generic 0003:275D:0BA6.0003: input,hidraw1: USB HID v1.11 Mouse [USB OPTICAL MOUSE ] on usb-0003:01:00.0-1.3/input0
[ 16.574740] input: RPI Wired Keyboard 5 as /devices/pci0003:00/0003:00:00.0/0003:01:00.0/usb1/1-1/1-1.1/1-1.1:1.1/0003:04D9:0006.0002/input/input2
[ 16.703443] radeon 0033:01:00.0: [drm] Cannot find any crtc or sizes
[ 16.767710] hid-generic 0003:04D9:0006.0002: input,hidraw2: USB HID v1.11 Device [ RPI Wired Keyboard 5] on usb-0003:01:00.0-1.1/input1
[ 19.462346] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 19.475633] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 19.475828] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[ 19.475859] Loading firmware: regulatory.db
[ 19.477049] Loading firmware: regulatory.db.p7s
[ 19.734596] Adding 16777212k swap on /dev/nvme0n1p4. Priority:-2 extents:1 across:16777212k SS
[ 20.160467] EXT4-fs (nvme0n1p2): mounting ext2 file system using the ext4 subsystem
[ 20.165046] EXT4-fs (nvme0n1p2): mounted filesystem 4913eef4-b406-4b09-ad17-549fbf0a775e r/w without journal. Quota mode: disabled.
[ 22.214626] radeon 0033:01:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[ 22.642021] systemd-journald[335]: /var/log/journal/3f89104fd8e846edb53c46af433b901e/user-1000.journal: Journal file uses a different sequence number ID, rotating.
[ 69.566101] KTAP version 1
[ 69.566119] 1..1
[ 69.566134] KTAP version 1
[ 69.566141] # Subtest: drm_format_helper_test
[ 69.566148] # module: drm_format_helper_test
[ 69.566151] 1..17
[ 69.566161] KTAP version 1
[ 69.566166] # Subtest: drm_test_fb_xrgb8888_to_gray8
[ 69.567578] ok 1 single_pixel_source_buffer
[ 69.567811] ok 2 single_pixel_clip_rectangle
[ 69.567953] ok 3 well_known_colors
[ 69.568046] ok 4 destination_pitch
[ 69.568054] # drm_test_fb_xrgb8888_to_gray8: pass:4 fail:0 skip:0 total:4
[ 69.568061] ok 1 drm_test_fb_xrgb8888_to_gray8
[ 69.568069] KTAP version 1
[ 69.568077] # Subtest: drm_test_fb_xrgb8888_to_rgb332
[ 69.568157] ok 1 single_pixel_source_buffer
[ 69.568243] ok 2 single_pixel_clip_rectangle
[ 69.568329] ok 3 well_known_colors
[ 69.568497] ok 4 destination_pitch
[ 69.568510] # drm_test_fb_xrgb8888_to_rgb332: pass:4 fail:0 skip:0 total:4
[ 69.568520] ok 2 drm_test_fb_xrgb8888_to_rgb332
[ 69.568530] KTAP version 1
[ 69.568544] # Subtest: drm_test_fb_xrgb8888_to_rgb565
[ 69.568742] ok 1 single_pixel_source_buffer
[ 69.568940] ok 2 single_pixel_clip_rectangle
[ 69.569081] ok 3 well_known_colors
[ 69.569216] ok 4 destination_pitch
[ 69.569225] # drm_test_fb_xrgb8888_to_rgb565: pass:4 fail:0 skip:0 total:4
[ 69.569233] ok 3 drm_test_fb_xrgb8888_to_rgb565
[ 69.569241] KTAP version 1
[ 69.569251] # Subtest: drm_test_fb_xrgb8888_to_xrgb1555
[ 69.569349] ok 1 single_pixel_source_buffer
[ 69.569467] ok 2 single_pixel_clip_rectangle
[ 69.569566] ok 3 well_known_colors
[ 69.569662] ok 4 destination_pitch
[ 69.569671] # drm_test_fb_xrgb8888_to_xrgb1555: pass:4 fail:0 skip:0 total:4
[ 69.569678] ok 4 drm_test_fb_xrgb8888_to_xrgb1555
[ 69.569686] KTAP version 1
[ 69.569697] # Subtest: drm_test_fb_xrgb8888_to_argb1555
[ 69.569797] ok 1 single_pixel_source_buffer
[ 69.569901] ok 2 single_pixel_clip_rectangle
[ 69.570062] ok 3 well_known_colors
[ 69.570200] ok 4 destination_pitch
[ 69.570209] # drm_test_fb_xrgb8888_to_argb1555: pass:4 fail:0 skip:0 total:4
[ 69.570217] ok 5 drm_test_fb_xrgb8888_to_argb1555
[ 69.570224] KTAP version 1
[ 69.570234] # Subtest: drm_test_fb_xrgb8888_to_rgba5551
[ 69.570343] ok 1 single_pixel_source_buffer
[ 69.570445] ok 2 single_pixel_clip_rectangle
[ 69.570544] ok 3 well_known_colors
[ 69.570650] ok 4 destination_pitch
[ 69.570658] # drm_test_fb_xrgb8888_to_rgba5551: pass:4 fail:0 skip:0 total:4
[ 69.570666] ok 6 drm_test_fb_xrgb8888_to_rgba5551
[ 69.570673] KTAP version 1
[ 69.570684] # Subtest: drm_test_fb_xrgb8888_to_rgb888
[ 69.570780] ok 1 single_pixel_source_buffer
[ 69.570880] ok 2 single_pixel_clip_rectangle
[ 69.570991] ok 3 well_known_colors
[ 69.571087] ok 4 destination_pitch
[ 69.571096] # drm_test_fb_xrgb8888_to_rgb888: pass:4 fail:0 skip:0 total:4
[ 69.571104] ok 7 drm_test_fb_xrgb8888_to_rgb888
[ 69.571112] KTAP version 1
[ 69.571122] # Subtest: drm_test_fb_xrgb8888_to_argb8888
[ 69.571218] ok 1 single_pixel_source_buffer
[ 69.571319] ok 2 single_pixel_clip_rectangle
[ 69.571421] ok 3 well_known_colors
[ 69.571536] ok 4 destination_pitch
[ 69.571544] # drm_test_fb_xrgb8888_to_argb8888: pass:4 fail:0 skip:0 total:4
[ 69.571552] ok 8 drm_test_fb_xrgb8888_to_argb8888
[ 69.571559] KTAP version 1
[ 69.571570] # Subtest: drm_test_fb_xrgb8888_to_xrgb2101010
[ 69.571632] # drm_test_fb_xrgb8888_to_xrgb2101010: EXPECTATION FAILED at drivers/gpu/drm/tests/drm_format_helper_test.c:995
[ 69.571632] Expected buf == result->expected, but
[ 69.571632] buf ==
[ 69.571632] <00><00><f0><3f>
[ 69.571632] result->expected ==
[ 69.571632] <3f><f0><00><00>
[ 69.571750] not ok 1 single_pixel_source_buffer
[ 69.571831] # drm_test_fb_xrgb8888_to_xrgb2101010: EXPECTATION FAILED at drivers/gpu/drm/tests/drm_format_helper_test.c:995
[ 69.571831] Expected buf == result->expected, but
[ 69.571831] buf ==
[ 69.571831] <00><00><f0><3f>
[ 69.571831] result->expected ==
[ 69.571831] <3f><f0><00><00>
[ 69.571931] not ok 2 single_pixel_clip_rectangle
[ 69.572080] # drm_test_fb_xrgb8888_to_xrgb2101010: EXPECTATION FAILED at drivers/gpu/drm/tests/drm_format_helper_test.c:995
[ 69.572080] Expected buf == result->expected, but
[ 69.572080] buf ==
[ 69.572080] <ff> ff ff <3f> 00 00 00 00 <00><00><f0><3f> 00 <fc><0f> 00
[ 69.572080] <ff><03><00><00><ff><03><f0><3f><00><fc><ff><3f><ff><ff><0f><00>
[ 69.572080] result->expected ==
[ 69.572080] <3f> ff ff <ff> 00 00 00 00 <3f><f0><00><00> 00 <0f><fc> 00
[ 69.572080] <00><00><03><ff><3f><f0><03><ff><3f><ff><fc><00><00><0f><ff><ff>
[ 69.572222] not ok 3 well_known_colors
[ 69.572473] # drm_test_fb_xrgb8888_to_xrgb2101010: EXPECTATION FAILED at drivers/gpu/drm/tests/drm_format_helper_test.c:995
[ 69.572473] Expected buf == result->expected, but
[ 69.572473] buf ==
[ 69.572473] <72><46><84><03><14><d4><44><04><0c><3c><2f><2a> 00 00 00 00
[ 69.572473] 00 00 00 00 <cd><0d><1f><1b><72><46><84><03><14><d4><44><04>
[ 69.572473] 00 00 00 00 00 00 00 00 <0c><30><20><2a><cd><0d><1f><1b>
[ 69.572473] <72><46><84><03> 00 00 00 00 00 00 00 00
[ 69.572473] result->expected ==
[ 69.572473] <03><84><46><72><04><44><d4><14><2a><2f><3c><0c> 00 00 00 00
[ 69.572473] 00 00 00 00 <1b><1f><0d><cd><03><84><46><72><04><44><d4><14>
[ 69.572473] 00 00 00 00 00 00 00 00 <2a><20><30><0c><1b><1f><0d><cd>
[ 69.572473] <03><84><46><72> 00 00 00 00 00 00 00 00
[ 69.572675] not ok 4 destination_pitch
[ 69.572687] # drm_test_fb_xrgb8888_to_xrgb2101010: pass:0 fail:4 skip:0 total:4
[ 69.572692] not ok 9 drm_test_fb_xrgb8888_to_xrgb2101010
[ 69.572697] KTAP version 1
[ 69.572704] # Subtest: drm_test_fb_xrgb8888_to_argb2101010
[ 69.572829] ok 1 single_pixel_source_buffer
[ 69.572927] ok 2 single_pixel_clip_rectangle
[ 69.573039] ok 3 well_known_colors
[ 69.573121] ok 4 destination_pitch
[ 69.573127] # drm_test_fb_xrgb8888_to_argb2101010: pass:4 fail:0 skip:0 total:4
[ 69.573132] ok 10 drm_test_fb_xrgb8888_to_argb2101010
[ 69.573137] KTAP version 1
[ 69.573143] # Subtest: drm_test_fb_xrgb8888_to_mono
[ 69.573232] ok 1 single_pixel_source_buffer
[ 69.573327] ok 2 single_pixel_clip_rectangle
[ 69.573407] ok 3 well_known_colors
[ 69.573496] ok 4 destination_pitch
[ 69.573501] # drm_test_fb_xrgb8888_to_mono: pass:4 fail:0 skip:0 total:4
[ 69.573506] ok 11 drm_test_fb_xrgb8888_to_mono
[ 69.573511] KTAP version 1
[ 69.573517] # Subtest: drm_test_fb_swab
[ 69.573634] ok 1 single_pixel_source_buffer
[ 69.573745] ok 2 single_pixel_clip_rectangle
[ 69.573872] ok 3 well_known_colors
[ 69.573973] ok 4 destination_pitch
[ 69.573978] # drm_test_fb_swab: pass:4 fail:0 skip:0 total:4
[ 69.573983] ok 12 drm_test_fb_swab
[ 69.573988] KTAP version 1
[ 69.573994] # Subtest: drm_test_fb_xrgb8888_to_xbgr8888
[ 69.574082] ok 1 single_pixel_source_buffer
[ 69.574179] ok 2 single_pixel_clip_rectangle
[ 69.574258] ok 3 well_known_colors
[ 69.574350] ok 4 destination_pitch
[ 69.574355] # drm_test_fb_xrgb8888_to_xbgr8888: pass:4 fail:0 skip:0 total:4
[ 69.574360] ok 13 drm_test_fb_xrgb8888_to_xbgr8888
[ 69.574364] KTAP version 1
[ 69.574371] # Subtest: drm_test_fb_xrgb8888_to_abgr8888
[ 69.574447] ok 1 single_pixel_source_buffer
[ 69.574536] ok 2 single_pixel_clip_rectangle
[ 69.574617] ok 3 well_known_colors
[ 69.574696] ok 4 destination_pitch
[ 69.574701] # drm_test_fb_xrgb8888_to_abgr8888: pass:4 fail:0 skip:0 total:4
[ 69.574706] ok 14 drm_test_fb_xrgb8888_to_abgr8888
[ 69.574711] KTAP version 1
[ 69.574717] # Subtest: drm_test_fb_clip_offset
[ 69.574800] ok 1 pass through
[ 69.574872] ok 2 horizontal offset
[ 69.574956] ok 3 vertical offset
[ 69.575048] ok 4 horizontal and vertical offset
[ 69.575136] ok 5 horizontal offset (custom pitch)
[ 69.575251] ok 6 vertical offset (custom pitch)
[ 69.575343] ok 7 horizontal and vertical offset (custom pitch)
[ 69.575352] # drm_test_fb_clip_offset: pass:7 fail:0 skip:0 total:7
[ 69.575360] ok 15 drm_test_fb_clip_offset
[ 69.575367] KTAP version 1
[ 69.575377] # Subtest: drm_test_fb_build_fourcc_list
[ 69.575884] ok 1 no native formats
[ 69.576259] ok 2 XRGB8888 as native format
[ 69.576666] ok 3 remove duplicates
[ 69.577079] ok 4 convert alpha formats
[ 69.577455] ok 5 random formats
[ 69.577461] # drm_test_fb_build_fourcc_list: pass:5 fail:0 skip:0 total:5
[ 69.577466] ok 16 drm_test_fb_build_fourcc_list
[ 69.577472] KTAP version 1
[ 69.577478] # Subtest: drm_test_fb_memcpy
[ 69.577594] ok 1 single_pixel_source_buffer: XR24 little-endian (0x34325258)
[ 69.577705] ok 2 single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[ 69.577819] ok 3 single_pixel_source_buffer: YU24 little-endian (0x34325559)
[ 69.577905] ok 4 single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[ 69.578001] ok 5 single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[ 69.578101] ok 6 single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[ 69.578174] ok 7 well_known_colors: XB24 little-endian (0x34324258)
[ 69.578266] ok 8 well_known_colors: XRA8 little-endian (0x38415258)
[ 69.578369] ok 9 well_known_colors: YU24 little-endian (0x34325559)
[ 69.578463] ok 10 destination_pitch: XB24 little-endian (0x34324258)
[ 69.578573] ok 11 destination_pitch: XRA8 little-endian (0x38415258)
[ 69.578688] ok 12 destination_pitch: YU24 little-endian (0x34325559)
[ 69.578697] # drm_test_fb_memcpy: pass:12 fail:0 skip:0 total:12
[ 69.578705] ok 17 drm_test_fb_memcpy
[ 69.578712] # drm_format_helper_test: pass:16 fail:1 skip:0 total:17
[ 69.578719] # Totals: pass:76 fail:4 skip:0 total:80
[ 69.578725] not ok 1 drm_format_helper_test
[ 231.328685] EXT4-fs (nvme0n1p2): unmounting filesystem 4913eef4-b406-4b09-ad17-549fbf0a775e.
[ 231.396140] EXT4-fs (zram1): unmounting filesystem 063820dd-15e5-43b1-8e13-b974c6aadadf.
[ 232.244873] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 232.275011] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[ 232.315855] systemd-journald[335]: Received SIGTERM from PID 1 (systemd-shutdow).
[ 232.353780] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 232.398047] systemd-shutdown[1]: Unmounting file systems.
[ 232.428563] (sd-remount)[1155]: Remounting '/' read-only with options 'compress=zstd:1,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/'.
[ 232.526107] systemd-shutdown[1]: All filesystems unmounted.
[ 232.558195] systemd-shutdown[1]: Deactivating swaps.
[ 232.590064] systemd-shutdown[1]: All swaps deactivated.
[ 232.622083] systemd-shutdown[1]: Detaching loop devices.
[ 232.655487] systemd-shutdown[1]: All loop devices detached.
[ 232.687676] systemd-shutdown[1]: Stopping MD devices.
[ 232.719982] systemd-shutdown[1]: All MD devices stopped.
[ 232.751906] systemd-shutdown[1]: Detaching DM devices.
[ 232.783566] systemd-shutdown[1]: All DM devices detached.
[ 232.814320] systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached.
[ 232.845887] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 232.877216] systemd-shutdown[1]: Powering off.
[ 233.171577] radeon 0033:01:00.0: Refused to change power state from D0 to D3hot
[ 233.441209] tg3 0004:01:00.1: Refused to change power state from D0 to D3hot

Attachment: config_675_p9
Description: Binary data