Bug 48852 - [IVB/SNB/ILK]I-G-T/gem_set_tiling_vs_blt fail
Summary: [IVB/SNB/ILK]I-G-T/gem_set_tiling_vs_blt fail
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Daniel Vetter
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 40928
  Show dependency treegraph
 
Reported: 2012-04-17 19:06 UTC by Guang Yang
Modified: 2017-10-06 14:50 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Guang Yang 2012-04-17 19:06:30 UTC
System Environment:
--------------------------
Platform:        IVB/SNB/ILK
Kernel: (drm-intel-next-queued)17038de5f16569a25343cf68668f3b657eafb00e
Bug detailed description:
-------------------------
  -------------------------
   On IVB/SNB/ILK platform ,running gem_set_tiling_vs_blt of the
Intel-gpu-tools will fail.
  the error on the console is like this:
  testing untiled->tiled transisition:
  filling ring .. playing tricks .. checking .. done
  testing tiled->untiled transisition:
  gem_set_tiling_vs_blt: gem_set_tiling_vs_blt.c:204: do_test: Assertion `data[i] == i' failed.
  filling ring .. playing tricks .. checking .. Aborted (core dumped)
  
  Here is the GDB backtrace:
#0  0x00000037d4036415 in raise () from /lib64/libc.so.6
#1  0x00000037d4037d2b in abort () from /lib64/libc.so.6
#2  0x00000037d402ed0d in __assert_fail () from /lib64/libc.so.6
#3  0x0000000000401edb in do_test (tiling=1, stride=4096, tiling_after=0, stride_after=4096) at gem_set_tiling_vs_blt.c:204
#4  0x0000000000401fda in main (argc=<optimized out>, argv=<optimized out>) at gem_set_tiling_vs_blt.c:248

  With the log,I find that we rename gem_tiled_after_untiled_blt into gem_set_tiling_vs_blt,and here is one older fixed bug: 47990 about this case.
Comment 1 Daniel Vetter 2012-04-18 00:29:13 UTC
Sorry, I've extended the test to catch more bugs on gen3, but forgot to test it on later gens before committing. This failure should be fixed in intel-gpu-tools with

commit 48ec7f9edd7a1bfe01a158a2a3ba85667f29030f
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Tue Apr 17 13:25:04 2012 +0200

    tests/gem_set_tiling_vs_blt: fix on gen4+

btw: Please mark i-g-t failures as blocking the meta bug, not depending upon another failing i-g-t test, thanks.
Comment 2 Guang Yang 2012-04-18 19:09:25 UTC
confirmed ,tested buy guang yang.
Comment 3 Elizabeth 2017-10-06 14:50:19 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.