Bug 90514

Summary: [BSW]disable RC6 make some OpenCL test cases fail
Product: DRI Reporter: meng <mengmeng.meng>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED NOTOURBUG QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: bingbingx.zhu, intel-gfx-bugs, zhigang.gong
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
opencv_test_calib3d OCL_StereoMatcher/StereoBMFixture error log none

Description meng 2015-05-19 06:27:37 UTC
==Regression==
--------------------------
Regression: No. Firstly tests OpenCL on BSW.
Ubuntu: 14.04

==kernel==
--------------------------
drm-intel-next-queued: git-65de79

==Test cases==
Beignet: git://anongit.freedesktop.org/git/beignet (master git-6aae2e8)
failed cases: compiler_async_copy_char2
              compiler_async_copy_uchar2

==Bug detailed description==
-----------------------------
Disable RC6 in kernel makes some OpenCL test cases fail. If enable RC6(no i915.enable_rc6=0 in grub), the case works OK.


e.g. run compiler_async_copy_char2() 
compiler_async_copy_char2()    [FAILED]
    Error: dst[i] == src[i]
  at file /home/OpenCL/beignet/utests/compiler_async_copy.cpp, function compiler_async_copy_char2, line 46


==Reproduce steps==
---------------------------- 
1. set "i915.enable_rc6=0"
2. utests/utest_run -c compiler_async_copy_char2
Comment 1 Chris Wilson 2015-05-19 07:21:38 UTC
The test is bogus.
Comment 2 Zhigang Gong 2015-05-19 07:41:43 UTC
(In reply to Chris Wilson from comment #1)
> The test is bogus.

Hi Chris, could you explain more detail why the test is bogus? Thanks.
Comment 3 meng 2015-05-19 08:49:16 UTC
There are also some opencv tesst fail when disable RC6.
./opencv_test_calib3d --gtest_filter=OCL_StereoMatcher/StereoBMFixture.*
./opencv_test_core --gtest_filter=OCL_Arithm/Transpose.*

The reproducibility of opencv cases is >50%. 

Please see attached log.
Comment 4 meng 2015-05-19 08:50:33 UTC
Created attachment 115895 [details]
opencv_test_calib3d OCL_StereoMatcher/StereoBMFixture error log

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.