mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-13 02:46:23 +00:00
tests/gem_write_ring_switch: Skip on pre-SNB
The test requires MI commands only introduced with SNB, and so causes GPU death on gm45 and ilk. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66838
This commit is contained in:
parent
7dbc43f27a
commit
b37d89318d
@ -177,6 +177,10 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
fd = drm_open_any();
|
fd = drm_open_any();
|
||||||
|
|
||||||
|
/* Test requires MI_FLUSH_DW and MI_COND_BATCH_BUFFER_END */
|
||||||
|
if (intel_gen(intel_get_drm_devid(fd)) < 6)
|
||||||
|
return 77;
|
||||||
|
|
||||||
bufmgr = drm_intel_bufmgr_gem_init(fd, 4096);
|
bufmgr = drm_intel_bufmgr_gem_init(fd, 4096);
|
||||||
if (!bufmgr) {
|
if (!bufmgr) {
|
||||||
fprintf(stderr, "failed to init libdrm\n");
|
fprintf(stderr, "failed to init libdrm\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user