Bug 70563 - igt/kms_addfb/bo-too-small fail
Summary: igt/kms_addfb/bo-too-small fail
Status: CLOSED DUPLICATE of bug 70560
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: 2013-10-17 06:33 UTC by Qingshuai Tian
Modified: 2017-10-06 14:42 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (112.05 KB, text/plain)
2013-10-17 06:33 UTC, Qingshuai Tian
no flags Details

Description Qingshuai Tian 2013-10-17 06:33:59 UTC
Created attachment 87772 [details]
dmesg

System Environment:
--------------------------
Kernel: (drm-intel-next-queued)ec98c8d1ffdc87c54ec0896db45db5b7bd22eca9
Some additional commit info:
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
Date:   Fri Oct 11 15:26:26 2013 +0300

    drm/i915: Check 5/6 DDB split only when sprites are enabled

Bug detailed description:
-----------------------------
It fails on PNV/ILK/SNB/IVB/HSW with -fixes,-queued and -nightly kernel.
It's new case.
Following cases also fail:
igt/kms_addfb/bo-too-small-due-to-tiling
igt/kms_addfb/framebuffer-vs-set-tiling
igt/kms_addfb/too-high

output:
Test assertion failure function size_tests, file kms_addfb.c:190:
Failed assertion: drmIoctl(fd, DRM_IOCTL_MODE_ADDFB2, &f) == -1 && errno == EINVAL
Subtest bo-too-small: FAIL
Test assertion failure function size_tests, file kms_addfb.c:206:
Failed assertion: drmIoctl(fd, DRM_IOCTL_MODE_ADDFB2, &f) == -1 && errno == EINVAL
Subtest bo-too-small-due-to-tiling: FAIL
Test assertion failure function pitch_tests, file kms_addfb.c:93:
Failed assertion: __gem_set_tiling(fd, gem_bo, I915_TILING_X, 512*4) == -EBUSY
Subtest framebuffer-vs-set-tiling: FAIL
Test assertion failure function size_tests, file kms_addfb.c:180:
Failed assertion: drmIoctl(fd, DRM_IOCTL_MODE_ADDFB2, &f) == -1 && errno == EINVAL
Subtest too-high: FAIL

Reproduce steps:
----------------------------
1../kms_addfb --run-subtest bo-too-small
Comment 1 Daniel Vetter 2013-10-17 08:40:47 UTC
Fixed in dinq with

commit de568bf91dbe255dfc8aae49736f4071015a9201
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Wed Oct 9 21:23:54 2013 +0200

    drm/i915: check gem bo size when creating framebuffers

and

commit 80075d492f8773209e26d11d6bb13ba624ef95a4
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Wed Oct 9 21:23:52 2013 +0200

    drm/i915: prevent tiling changes on framebuffer backing storage
Comment 2 Daniel Vetter 2013-10-17 08:41:38 UTC
OOps, wrong bug ;-)

*** This bug has been marked as a duplicate of bug 70560 ***
Comment 3 Elizabeth 2017-10-06 14:42:36 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.