Bug 66000

Summary: [IVB]igt/kms_render/direct-render aborted
Product: DRI Reporter: lu hua <huax.lu>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: xunx.fang, yangweix.shui
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg
none
output none

Description lu hua 2013-06-21 08:19:03 UTC
Created attachment 81152 [details]
dmesg

System Environment:
--------------------------
Arch:           x86_64
Platform:      Ivybridge
Kernel:	(drm-intel-fixes) 53d3b4d7778daf15900867336c85d3f8dd70600c

Bug detailed description:
-----------------------------
It happens on ivybridge with drm-intel-fixes kernel and drm-intel-next-queued kernel. It's a new case for igt. 

btw, If run this case with headless, the return value is 0, the result is pass. In  fact, the case is not executed.

igt/kms_render/gpu-blit also has this issue.

Reproduce steps:
----------------------------
1. ./kms_render --run-subtest direct-render
Comment 1 lu hua 2013-06-21 08:19:39 UTC
Created attachment 81153 [details]
output
Comment 2 Chris Wilson 2013-06-21 15:42:48 UTC
This is failure:

[ 3416.821415] [drm:drm_mode_setcrtc], [CRTC:7]
[ 3416.821417] [drm:drm_mode_setcrtc], [CONNECTOR:22:DP-2]
[ 3416.821418] [drm:intel_crtc_set_config], [CRTC:7] [FB:29] #connectors=1 (x y) (0 0)
[ 3416.821420] [drm:intel_set_config_compute_mode_changes], crtc has no fb, full mode set
[ 3416.821421] [drm:intel_set_config_compute_mode_changes], modes are different, full mode set
[ 3416.821422] [drm:drm_mode_debug_printmodeline], Modeline 0:"" 0 0 0 0 0 0 0 0 0 0 0x0 0x0
[ 3416.821423] [drm:drm_mode_debug_printmodeline], Modeline 48:"2560x1600" 60 268500 2560 2608 2640 2720 1600 1603 1609 1646 0x48 0x9
[ 3416.821425] [drm:intel_modeset_stage_output_state], encoder changed, full mode switch
[ 3416.821427] [drm:intel_modeset_stage_output_state], [CONNECTOR:22:DP-2] to [CRTC:7]
[ 3416.821428] [drm:intel_modeset_stage_output_state], crtc changed, full mode switch
[ 3416.821429] [drm:intel_modeset_affected_pipes], set mode pipe masks: modeset: 4, prepare: 4, disable: 0
[ 3416.821431] [drm:connected_sink_compute_bpp], [CONNECTOR:22:DP-2] checking for sink bpp constrains
[ 3416.821432] [drm:intel_dp_compute_config], DP link computation with max lane count 4 max bw 0a pixel clock 268500KHz
[ 3416.821433] [drm:intel_dp_compute_config], DP link bw 06 lane count 4 clock 162000 bpp 18
[ 3416.821435] [drm:intel_dp_compute_config], DP link bw required 483300 available 518400
[ 3416.821436] [drm:ironlake_check_fdi_lanes], checking fdi config on pipe C, lanes 3
[ 3416.821437] [drm:ironlake_check_fdi_lanes], invalid shared fdi lane config on pipe C: 3 lanes
[ 3416.821438] [drm:intel_modeset_pipe_config], CRTC fixup failed
[ 3416.821440] [drm:intel_crtc_set_config] *ERROR* failed to set mode on [CRTC:7], err = -22
Comment 3 Chris Wilson 2013-06-21 15:55:16 UTC
commit d2048819b9db8781c65399f28696f375448a03e6
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Jun 21 16:52:53 2013 +0100

    kms_render: Skip unsupported display configurations
    
    Certain modes may not be supported by certain combinations of pipes.
    This is impossible to determine upfront, and we await an atomic
    modesetting query operation. In the meantime, if we fail to set a mode,
    just skip that test.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66000
Comment 4 lu hua 2013-06-24 08:34:56 UTC
Verified.Fixed.
Comment 5 Jari Tahvanainen 2016-11-22 08:42:14 UTC
Closing verified+fixed.

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.