Bug 68638 - [nv]igt/prime_nv_test/i915_import_cpu_mmap fails with debug kernel
Summary: [nv]igt/prime_nv_test/i915_import_cpu_mmap fails with debug kernel
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: low enhancement
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-28 06:54 UTC by lu hua
Modified: 2017-10-06 14:43 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (110.33 KB, text/plain)
2013-08-28 06:54 UTC, lu hua
no flags Details

Description lu hua 2013-08-28 06:54:50 UTC
Created attachment 84770 [details]
dmesg

System Environment:
--------------------------
Platform:  Haswell
Kernel:    (drm-intel-nightly_debug)aaf0996cd776c5131d108f08a2e587ab0baaa6d4

Bug detailed description:
-----------------------------
It fails on haswell with NVIDIA card GT440.
igt/prime_nv_test/i915_import_pread_pwrite and igt/prime_nv_pcopy/test_semaphore also fail.

output:
Test assertion failure function test_i915_import_cpu_mmap, file prime_nv_test.c:215:
Failed assertion: drm_intel_bo_map(test_intel_bo, 0) == 0
Subtest i915_import_cpu_mmap: FAIL

Reproduce steps:
----------------------------
1. ./prime_nv_test --run-subtest i915_import_cpu_mmap
Comment 1 Daniel Vetter 2013-08-28 08:46:19 UTC
We need to implement dma-buf mmap support for this. Feature request level bug.
Comment 2 lu hua 2013-09-02 07:30:17 UTC
Remove option [HSW], It is NVIDIA card GT440 issue, not only HSW.
Comment 3 Daniel Vetter 2014-11-04 16:26:02 UTC
commit 83757d7b393e61502fdf331f8239da8acc34213c
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Tue Nov 4 17:24:55 2014 +0100

    tests/prime_nv_test: Skip cpu mmap testcase
    
    It's not implemented yet, so no point in running the test really.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68638
    Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Comment 4 Elizabeth 2017-10-06 14:43:38 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.