Bug 86236 - [PNV]igt/kms_render/direct-render fails
Summary: [PNV]igt/kms_render/direct-render fails
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-13 07:13 UTC by lu hua
Modified: 2017-10-06 14:33 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (35.49 KB, text/plain)
2014-11-13 07:13 UTC, lu hua
no flags Details

Description lu hua 2014-11-13 07:13:00 UTC
Created attachment 109386 [details]
dmesg

==System Environment==
--------------------------
Regression: not sure, it also has Bug 78873.

Non-working platforms:  PNV

==kernel==
--------------------------
drm-intel-nightly/de6d6ca380bba4f962f942089b0a212d9b3977c1

==Bug detailed description==
It fails on PNV with -nightly kernel. bug 78873 fixed on BDW, it still fails on PNV.

output:
IGT-Version: 1.8-g50d539e (i686) (Linux: 3.18.0-rc3_drm-intel-nightly_de6d6c_20141111+ i686)
Beginning test direct-render with 1024x600 @ 60Hz / RGB565 on pipe B, encoder LVDS, connector LVDS
Test direct-render with 1024x600 @ 60Hz / RGB565 on pipe B, encoder LVDS, connector LVDS: PASSED
Beginning test direct-render with 1024x600 @ 60Hz / XRGB8888 on pipe B, encoder LVDS, connector LVDS
Test direct-render with 1024x600 @ 60Hz / XRGB8888 on pipe B, encoder LVDS, connector LVDS: PASSED
Beginning test direct-render with 1024x600 @ 60Hz / XRGB2101010 on pipe B, encoder LVDS, connector LVDS
Test assertion failure function igt_create_fb_with_bo_size, file igt_fb.c:432:
Failed assertion: (drmModeAddFB2(fd, width, height, format, handles, pitches, offsets, &fb_id, 0)) == 0
Last errno: 22, Invalid argument
Subtest direct-render: FAIL (16.119s)


==Reproduce steps==
---------------------------- 
1. ./kms_render --run-subtest direct-render
Comment 1 Daniel Vetter 2014-11-18 14:38:39 UTC
Fixed in igt with

commit d8078911f63494eba67f8f07ffb56c4bdeae7bc9
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Tue Nov 18 15:17:43 2014 +0100

    tests/kms_render: gen2/3 can't do 10bpc
Comment 2 lu hua 2014-11-25 08:09:57 UTC
Fixed.
[root@x-pnv2 tests]# ./kms_render --run-subtest direct-render
IGT-Version: 1.8-gd807891 (i686) (Linux: 3.18.0-rc6_drm-intel-nightly_ab4b25_20141125+ i686)
Beginning test direct-render with 1024x600 @ 60Hz / RGB565 on pipe B, encoder LVDS, connector LVDS
Test direct-render with 1024x600 @ 60Hz / RGB565 on pipe B, encoder LVDS, connector LVDS: PASSED
Beginning test direct-render with 1024x600 @ 60Hz / XRGB8888 on pipe B, encoder LVDS, connector LVDS
Test direct-render with 1024x600 @ 60Hz / XRGB8888 on pipe B, encoder LVDS, connector LVDS: PASSED
gen2/3 don't support 10bpc, skipping
Beginning test direct-render with 1024x600 @ 60Hz / ARGB8888 on pipe B, encoder LVDS, connector LVDS
Test direct-render with 1024x600 @ 60Hz / ARGB8888 on pipe B, encoder LVDS, connector LVDS: PASSED
Subtest direct-render: SUCCESS (24.012s)
Comment 3 Elizabeth 2017-10-06 14:33:49 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.