Bug 70560 - [ALL]Some subcases of kms_addfb failed
Summary: [ALL]Some subcases of kms_addfb failed
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:
: 70563 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-10-17 05:18 UTC by Guo Jinxian
Modified: 2017-10-06 14:42 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Guo Jinxian 2013-10-17 05:18:07 UTC
System Environment:
--------------------------
Platform: BYT/HSW/IVB/SGB/PNV
kernel   (drm-intel-next-queued)4cdb83ec9a72f741c75e20c8e412c505fc037f5f


Bug detailed description:
-----------------------------
Test assertion failure function test_fence_restore, file gem_suspend.c:83: 
Failed assertion: ptr1[i] == i 
they are new cases

Following cases have the same failure.
igt/kms_addfb/bo-too-small
igt/kms_addfb/bo-too-small-due-to-tiling
igt/kms_addfb/framebuffer-vs-set-tiling
igt/kms_addfb/too-high
**** List of PLAYBACK Hardware Devices ****
igt/kms_addfb/bo-too-small
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 

igt/kms_addfb/bo-too-small-due-to-tiling
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 

igt/kms_addfb/framebuffer-vs-set-tiling
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 

igt/kms_addfb/too-high
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:41:19 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
*** Bug 70563 has been marked as a duplicate of this bug. ***
Comment 3 Guo Jinxian 2013-10-21 08:08:18 UTC
Checked on Latest -next-queued(3.12.0-rc3_drm-intel-next-queued_6da7f1_20131020),this bug had fixed, thanks.
Comment 4 Elizabeth 2017-10-06 14:42:39 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.