<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>high
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [IVB/HSW Bisected]igt/prime_self_import/with_one_bo aborted"
href="https://bugs.freedesktop.org/show_bug.cgi?id=66436">66436</a>
</td>
</tr>
<tr>
<th>CC</th>
<td>yangweix.shui@intel.com
</td>
</tr>
<tr>
<th>Assignee</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>[IVB/HSW Bisected]igt/prime_self_import/with_one_bo aborted
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>huax.lu@intel.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>DRM/Intel
</td>
</tr>
<tr>
<th>Product</th>
<td>DRI
</td>
</tr></table>
<p>
<div>
<pre>System Environment:
--------------------------
Arch: x86_64
Platform: ivybridge/haswell
Libdrm:
(master)libdrm-2.4.45-13-g378bb47a784a3808c9b256fe7a52e10a4fcabf92
Mesa: (master)adf8afa168fe9fe2e4a2b35afc3003040d05273f
Xserver:
(master)xorg-server-1.14.99.1-130-g77e51d5bbb97eb5c9d9dbff9a7c44d7e53620e68
Xf86_video_intel:(master)2.21.10-67-g3a787da7e888da7e9943be94bd1cb177fe1495ab
Cairo: (master)7b8fc77bb974fbd4fbc697405a8b6aec748bb7f2
Libva: (staging)e9e685fe752b9865ba9e28cb63e18ce3f8aed2a0
Libva_intel_driver:(staging)bb24c8a81e512d19aad0359d81f7247e6f20cc29
Kernel: (drm-intel-nightly) 03d25b4548499254d66f1ee0bae8b796097a41ed
Bug detailed description:
-------------------------
It aborted on ivybridge/haswell with drm-intel-next-queued kernel.It works well
on drm-intel-fixes kernel.
Bisect shows:da34242e5e0638312130f5bd5d2d277afbc6f806 is the first bad commit.
commit da34242e5e0638312130f5bd5d2d277afbc6f806
Author: YoungJun Cho <<a href="mailto:yj44.cho@samsung.com">yj44.cho@samsung.com</a>>
AuthorDate: Wed Jun 26 10:21:42 2013 +0900
Commit: Dave Airlie <<a href="mailto:airlied@redhat.com">airlied@redhat.com</a>>
CommitDate: Fri Jun 28 14:43:04 2013 +1000
drm/prime: add return check for dma_buf_fd
The dma_buf_fd() can return error when it fails to prepare fd,
so the dma_buf needs to be put.
Signed-off-by: YoungJun Cho <<a href="mailto:yj44.cho@samsung.com">yj44.cho@samsung.com</a>>
Signed-off-by: Seung-Woo Kim <<a href="mailto:sw0312.kim@samsung.com">sw0312.kim@samsung.com</a>>
Signed-off-by: Kyungmin Park <<a href="mailto:kyungmin.park@samsung.com">kyungmin.park@samsung.com</a>>
Signed-off-by: Dave Airlie <<a href="mailto:airlied@redhat.com">airlied@redhat.com</a>>
output:
prime_handle_to_fd:560 failed, ret=5, errno=0
Aborted (core dumped)
dmesg:
[ 916.441187] [drm:i915_driver_open],
[ 916.441199] [drm:intel_crtc_cursor_set], cursor off
[ 916.441201] [drm:intel_crtc_set_config], [CRTC:3] [FB:35] #connectors=1 (x
y) (0 0)
[ 916.441205] [drm:intel_modeset_stage_output_state], [CONNECTOR:9:VGA-1] to
[CRTC:3]
[ 916.441207] [drm:intel_modeset_affected_pipes], set mode pipe masks:
modeset: 1, prepare: 1, disable: 0
[ 916.441209] [drm:connected_sink_compute_bpp], [CONNECTOR:9:VGA-1] checking
for sink bpp constrains
[ 916.441211] [drm:ironlake_check_fdi_lanes], checking fdi config on pipe A,
lanes 2
[ 916.441212] [drm:intel_modeset_pipe_config], plane bpp: 24, pipe bpp: 24,
dithering: 0
[ 916.441213] [drm:intel_dump_pipe_config], [CRTC:3][modeset] config for pipe
A
[ 916.441215] [drm:intel_dump_pipe_config], cpu_transcoder: A
[ 916.441215] [drm:intel_dump_pipe_config], pipe bpp: 24, dithering: 0
[ 916.441216] [drm:intel_dump_pipe_config], fdi/pch: 1, lanes: 2, gmch_m:
6920601, gmch_n: 8388608, link_m: 288358, link_n: 524288, tu: 64
[ 916.441218] [drm:intel_dump_pipe_config], requested mode:
[ 916.441219] [drm:drm_mode_debug_printmodeline], Modeline 0:"1920x1080" 60
148500 1920 2008 2052 2200 1080 1084 1089 1125 0x48 0x5
[ 916.441221] [drm:intel_dump_pipe_config], adjusted mode:
[ 916.441222] [drm:drm_mode_debug_printmodeline], Modeline 0:"1920x1080" 60
148500 1920 2008 2052 2200 1080 1084 1089 1125 0x48 0x5
[ 916.441224] [drm:intel_dump_pipe_config], gmch pfit: control: 0x00000000,
ratios: 0x00000000, lvds border: 0x00000000
[ 916.441225] [drm:intel_dump_pipe_config], pch pfit: pos: 0x00000000, size:
0x00000000
[ 916.441226] [drm:intel_dump_pipe_config], ips: 0
[ 916.441230] [drm:intel_ddi_put_crtc_pll], Disabling SPLL
[ 916.441231] [drm:intel_ddi_pll_mode_set], Using SPLL on pipe A
[ 916.441263] [drm:ironlake_update_plane], Writing base 00094000 00000000 0 0
7680
[ 916.441268] [drm:intel_crtc_mode_set], [ENCODER:10:DAC-10] set
[MODE:0:1920x1080]
[ 916.442168] [drm:hsw_fdi_link_train], FDI link training done on step 0
[ 916.493562] [drm:ironlake_wait_for_vblank], vblank wait timed out
[ 916.545550] [drm:ironlake_wait_for_vblank], vblank wait timed out
[ 916.547505] [drm:lpt_program_iclkip], iCLKIP clock: found settings for
148500KHz refresh rate: auxdiv=0, divsel=10, phasedir=0, phaseinc=b
[ 916.565547] [drm:intel_connector_check_state], [CONNECTOR:9:VGA-1]
[ 916.565552] [drm:check_encoder_state], [ENCODER:10:DAC-10]
[ 916.565554] [drm:check_encoder_state], [ENCODER:11:TMDS-11]
[ 916.565555] [drm:check_encoder_state], [ENCODER:16:TMDS-16]
[ 916.565556] [drm:check_encoder_state], [ENCODER:19:TMDS-19]
[ 916.565557] [drm:check_crtc_state], [CRTC:3]
[ 916.565569] [drm:check_crtc_state], [CRTC:5]
[ 916.565571] [drm:check_crtc_state], [CRTC:7]
[ 916.565574] [drm:intel_crtc_cursor_set], cursor off
[ 916.565575] [drm:intel_crtc_set_config], [CRTC:5] [NOFB]
[ 916.565577] [drm:intel_modeset_stage_output_state], [CONNECTOR:9:VGA-1] to
[CRTC:3]
[ 916.565579] [drm:intel_crtc_cursor_set], cursor off
[ 916.565580] [drm:intel_crtc_set_config], [CRTC:7] [NOFB]
[ 916.565581] [drm:intel_modeset_stage_output_state], [CONNECTOR:9:VGA-1] to
[CRTC:3]
[ 916.565600] [drm:i915_driver_open],
[ 916.565729] [drm:i915_driver_open],
[ 916.565737] [drm:i915_driver_open],
[ 916.581517] [drm:i915_driver_open],
[ 916.581522] [drm:i915_driver_open],
[ 916.588638] [drm:intel_crtc_cursor_set], cursor off
[ 916.588641] [drm:intel_crtc_set_config], [CRTC:3] [FB:35] #connectors=1 (x
y) (0 0)
[ 916.588644] [drm:intel_modeset_stage_output_state], [CONNECTOR:9:VGA-1] to
[CRTC:3]
[ 916.588646] [drm:intel_crtc_cursor_set], cursor off
[ 916.588647] [drm:intel_crtc_set_config], [CRTC:5] [NOFB]
[ 916.588648] [drm:intel_modeset_stage_output_state], [CONNECTOR:9:VGA-1] to
[CRTC:3]
[ 916.588649] [drm:intel_crtc_cursor_set], cursor off
[ 916.588650] [drm:intel_crtc_set_config], [CRTC:7] [NOFB]
[ 916.588651] [drm:intel_modeset_stage_output_state], [CONNECTOR:9:VGA-1] to
[CRTC:3]
Reproduce steps:
----------------
1. ./prime_self_import --run-subtest with_one_bo</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>