Bug 29794 - some intel_gpu_tools cases fail
some intel_gpu_tools cases fail
Status: VERIFIED FIXED
Product: DRI
Classification: Unclassified
Component: DRM/Intel
unspecified
All Linux (All)
: medium major
Assigned To: Jesse Barnes
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-25 02:56 UTC by fangxun
Modified: 2010-09-01 18:42 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fangxun 2010-08-25 02:56:11 UTC
System Environment:
--------------------------
Arch    x86_64
Platform    piketon
Libdrm:         (master)2.4.21-16-gb61e81a191d3a5c269c5f7c40199aebc9ebc034c
Mesa:           (master)c8b26c63fdad84d311748a24972146b6a371ab31
Xserver:                (master)xorg-server-1.9.0
Xf86_video_intel:   (master)2.12.0-73-g104cd0554bde1d109a54db7a93700d5edfabd914
Kernel: (for-linus)76be97c1fc945db08aae1f1b746012662d643e97


Bug detailed description:
-------------------------
The failed cases are gem_nmap, gem_flink and gem_readwrite. Following is their error dmesg info.

gem_readwrite dmesg:
Errors:
gem_readwrite: gem_readwrite.c:130: main: Assertion `ret == -1 && (*__errno_location ()) == 9' failed.

gem_flink dmesg: 
Errors:
gem_flink: gem_flink.c:101: test_bad_flink: Assertion `ret == -1 && (*__errno_location ()) == 9' failed.

gem_mmap dmesg:
Errors:
gem_mmap: gem_mmap.c:79: main: Assertion `ret == -1 && (*__errno_location ()) == 9' failed.


Reproduce steps:
----------------
1.xinit& 
2.run these case
Comment 1 Chris Wilson 2010-08-25 04:01:02 UTC
commit c935c6021449fa442c51858e3d9cd79e1cec62ab
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Aug 25 11:56:59 2010 +0100

    tests: Fix fallout from s/EBADF/ENOENT/ in 2.6.36
    
    After bf79cb914dbfe848add8bb76cbb8ff89110d29ff, drm uses ENOENT to
    report unknown handles buffer objects, update the tests accordingly.
    
    Fixes:
    
      Bug 29794 - some intel_gpu_tools cases fail
      https://bugs.freedesktop.org/show_bug.cgi?id=29794
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 2 wang,jinjin 2010-09-01 18:42:40 UTC
Thanks for Chris Wilson. I verified it with the commit.