Bug 73538

Summary: [nv]igt/prime_nv_pcopy/test1_swizzle fails
Product: DRI Reporter: lu hua <huax.lu>
Component: DRM/IntelAssignee: Maarten Lankhorst <bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg none

Description lu hua 2014-01-13 08:41:25 UTC
Created attachment 91928 [details]
dmesg

System Environment:
--------------------------
Platform:  Haswell
Kernel:    (drm-intel-nightly_debug)24ed7daacf91b61ea39a71daa9e37e0e80a3392d

Bug detailed description:
-----------------------------
It fails on haswell with NVIDIA card GT440. It happens on -fixes, -nightly and -queued kernel.

IGT-Version: 1.5-g2a7dbe5 (x86_64) (Linux: 3.13.0-rc7_drm-intel-nightly_24ed7d_20140113_debug+ x86_64)
Retile check failed in first tile!
24242424 24242424 24242424 24242424 instead of 20202020
Test assertion failure function __real_main1266, file prime_nv_pcopy.c:1294:
Last errno: 2, No such file or directory
Failed assertion: ((test1_swizzle)()) == 0
Subtest test1_swizzle: FAIL

Reproduce steps:
----------------------------
1. ./prime_nv_pcopy --run-subtest test1_swizzle
Comment 1 Daniel Vetter 2014-01-14 10:49:56 UTC
swizzle tests are know to fail on some memory configurations. Maybe we should just disable them ... Maarten?
Comment 2 Maarten Lankhorst 2014-01-14 12:06:38 UTC
Sure, disable it. It turns out that one of the internal video formats used by hardware video decoding happened to match intel Y major tiling, so there's no chance of getting swizzling working.
Comment 3 Daniel Vetter 2014-01-14 12:42:46 UTC
Test is now disabled:

commit fef1930bf30b8182fe8e6e26b8f722ee8995da71
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Tue Jan 14 13:41:21 2014 +0100

    tests/prime_nv_pcopy: disable swizzle tests
Comment 4 lu hua 2014-01-15 05:44:31 UTC
Verified.Fixed.
Comment 5 Elizabeth 2017-10-06 14:40:40 UTC
Closing old verified.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.