Bug 109083 - [CI][DRMTIP]igt@kms_draw_crc@draw-method-rgb565-mmap-gtt-untiled - dmesg-warn - WARN_ON(crtc_state->scaler_state.scaler_id < 0)
Summary: [CI][DRMTIP]igt@kms_draw_crc@draw-method-rgb565-mmap-gtt-untiled - dmesg-warn...
Status: RESOLVED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-18 08:28 UTC by Lakshmi
Modified: 2019-03-08 17:09 UTC (History)
1 user (show)

See Also:
i915 platform: ICL
i915 features: display/Other


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lakshmi 2018-12-18 08:28:38 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_168/fi-icl-u3/igt@kms_draw_crc@draw-method-rgb565-mmap-gtt-untiled.html

	
<6> [29.814032] Console: switching to colour dummy device 80x25
<6> [29.814105] [IGT] kms_draw_crc: executing
<6> [30.214695] [IGT] kms_draw_crc: starting subtest draw-method-rgb565-mmap-gtt-untiled
<7> [30.215118] [drm:drm_mode_addfb2] [FB:305]
<7> [30.215355] [drm:drm_mode_addfb2] [FB:305]
<7> [30.282768] [drm:drm_mode_setcrtc] [CRTC:82:pipe A]
<7> [30.282864] [drm:drm_mode_setcrtc] [CONNECTOR:190:eDP-1]
<7> [30.282997] [drm:intel_atomic_check [i915]] [CONNECTOR:190:eDP-1] Limiting display bpp to 24 instead of EDID bpp 24, requested bpp 36, max platform bpp 36
<7> [30.283038] [drm:intel_dp_compute_config [i915]] DP link computation with max lane count 4 max rate 540000 max bpp 24 pixel clock 533250KHz
<7> [30.283073] [drm:intel_dp_compute_config [i915]] DP lane count 4 clock 432000 bpp 24
<7> [30.283106] [drm:intel_dp_compute_config [i915]] DP link rate required 1599750 available 1728000
<7> [30.283145] [drm:intel_atomic_check [i915]] hw max bpp: 24, pipe bpp: 24, dithering: 0
<7> [30.283179] [drm:intel_dump_pipe_config [i915]] [CRTC:82:pipe A][modeset]
<7> [30.283212] [drm:intel_dump_pipe_config [i915]] output_types: EDP (0x100)
<7> [30.283243] [drm:intel_dump_pipe_config [i915]] output format: RGB
<7> [30.283273] [drm:intel_dump_pipe_config [i915]] cpu_transcoder: EDP, pipe bpp: 24, dithering: 0
<7> [30.283304] [drm:intel_dump_pipe_config [i915]] dp m_n: lanes: 4; gmch_m: 7766016, gmch_n: 8388608, link_m: 647168, link_n: 524288, tu: 64
<7> [30.283334] [drm:intel_dump_pipe_config [i915]] audio: 0, infoframes: 0
<7> [30.283363] [drm:intel_dump_pipe_config [i915]] requested mode:
<7> [30.283368] [drm:drm_mode_debug_printmodeline] Modeline 0:"3840x2160" 60 533250 3840 3888 3920 4000 2160 2163 2168 2222 0x48 0xa
<7> [30.283396] [drm:intel_dump_pipe_config [i915]] adjusted mode:
<7> [30.283400] [drm:drm_mode_debug_printmodeline] Modeline 0:"3840x2160" 60 533250 3840 3888 3920 4000 2160 2163 2168 2222 0x48 0xa
<7> [30.283429] [drm:intel_dump_pipe_config [i915]] crtc timings: 533250 3840 3888 3920 4000 2160 2163 2168 2222, type: 0x48 flags: 0xa
<7> [30.283457] [drm:intel_dump_pipe_config [i915]] port clock: 432000, pipe src size: 3840x2160, pixel rate 533250
<7> [30.283484] [drm:intel_dump_pipe_config [i915]] num_scalers: 2, scaler_users: 0x0, scaler_id: -1
<7> [30.283510] [drm:intel_dump_pipe_config [i915]] pch pfit: pos: 0x00000000, size: 0x00000000, disabled
<7> [30.283536] [drm:intel_dump_pipe_config [i915]] ips: 0, double wide: 0
<7> [30.283567] [drm:icl_dump_hw_state [i915]] dpll_hw_state: cfgcr0: 0x0, cfgcr1: 0x0, mg_refclkin_ctl: 0x0, hg_clktop2_coreclkctl1: 0x0, mg_clktop2_hsclkctl: 0x0, mg_pll_div0: 0x0, mg_pll_div2: 0x0, mg_pll_lf: 0x0, mg_pll_frac_lock: 0x0, mg_pll_ssc: 0x0, mg_pll_bias: 0x0, mg_pll_tdc_coldst_bias: 0x0
<7> [30.283594] [drm:intel_dump_pipe_config [i915]] planes on this crtc
<7> [30.283619] [drm:intel_dump_pipe_config [i915]] [PLANE:30:plane 1A] disabled, scaler_id = -1
<7> [30.283646] [drm:intel_dump_pipe_config [i915]] [PLANE:37:plane 2A] disabled, scaler_id = -1
<7> [30.283670] [drm:intel_dump_pipe_config [i915]] [PLANE:44:plane 3A] disabled, scaler_id = -1
<7> [30.283693] [drm:intel_dump_pipe_config [i915]] [PLANE:51:plane 4A] disabled, scaler_id = -1
<7> [30.283716] [drm:intel_dump_pipe_config [i915]] [PLANE:58:plane 5A] disabled, scaler_id = -1
<7> [30.283740] [drm:intel_dump_pipe_config [i915]] [PLANE:65:plane 6A] disabled, scaler_id = -1
<7> [30.283826] [drm:intel_dump_pipe_config [i915]] [PLANE:72:plane 7A] disabled, scaler_id = -1
<7> [30.283864] [drm:intel_dump_pipe_config [i915]] [PLANE:79:cursor A] disabled, scaler_id = -1
<7> [30.283964] [drm:intel_atomic_check [i915]] New cdclk calculated to be logical 307200 kHz, actual 307200 kHz
<7> [30.284003] [drm:intel_atomic_check [i915]] New voltage level calculated to be logical 0, actual 0
<7> [30.284050] [drm:intel_find_shared_dpll [i915]] [CRTC:82:pipe A] allocated DPLL 0
<7> [30.284080] [drm:intel_reference_shared_dpll [i915]] using DPLL 0 for pipe A
<7> [30.284111] [drm:intel_find_shared_dpll [i915]] [CRTC:135:pipe B] allocated DPLL 1
<7> [30.284147] [drm:intel_reference_shared_dpll [i915]] using DPLL 1 for pipe B
<7> [30.284186] [drm:skl_update_scaler [i915]] scaler_user index 1.31: Staged freeing scaler id 0 scaler_users = 0x0
<7> [30.284321] [drm:skl_compute_wm [i915]] [PLANE:30:plane 1A] ddb (0 - 0) -> (0 - 1016)
<7> [30.284356] [drm:skl_compute_wm [i915]] [PLANE:79:cursor A] ddb (0 - 0) -> (1016 - 1024)
<7> [30.284392] [drm:skl_compute_wm [i915]] [PLANE:132:cursor B] ddb (992 - 1024) -> (2040 - 2048)
<7> [30.290357] [drm:intel_disable_pipe [i915]] disabling pipe B
<7> [30.308063] [drm:intel_power_well_disable [i915]] disabling DDI B IO
<7> [30.308246] [drm:intel_power_well_disable [i915]] disabling AUX B
<7> [30.308320] [drm:intel_disable_shared_dpll [i915]] disable DPLL 0 (active 2, on? 1) for crtc 135
<7> [30.308415] [drm:intel_disable_shared_dpll [i915]] disabling DPLL 0
<7> [30.308483] [drm:intel_dump_cdclk_state [i915]] Changing CDCLK to 307200 kHz, VCO 614400 kHz, ref 38400 kHz, bypass 50000 kHz, voltage level 0
<7> [30.308615] [drm:intel_disable_sagv [i915]] Disabling the SAGV
<7> [30.308682] [drm:intel_atomic_commit_tail [i915]] [ENCODER:189:DDI A]
<7> [30.308729] [drm:intel_atomic_commit_tail [i915]] [ENCODER:197:DDI B]
<7> [30.308796] [drm:intel_atomic_commit_tail [i915]] [ENCODER:199:DP-MST A]
<7> [30.308842] [drm:intel_atomic_commit_tail [i915]] [ENCODER:200:DP-MST B]
<7> [30.308887] [drm:intel_atomic_commit_tail [i915]] [ENCODER:201:DP-MST C]
<7> [30.308930] [drm:intel_atomic_commit_tail [i915]] [ENCODER:210:DDI C]
<7> [30.308987] [drm:intel_atomic_commit_tail [i915]] [ENCODER:214:DDI D]
<7> [30.309030] [drm:intel_atomic_commit_tail [i915]] [ENCODER:216:DP-MST A]
<7> [30.309070] [drm:intel_atomic_commit_tail [i915]] [ENCODER:217:DP-MST B]
<7> [30.309110] [drm:intel_atomic_commit_tail [i915]] [ENCODER:218:DP-MST C]
<7> [30.309148] [drm:intel_atomic_commit_tail [i915]] [ENCODER:221:DDI E]
<7> [30.309192] [drm:intel_atomic_commit_tail [i915]] [ENCODER:224:DDI F]
<7> [30.309232] [drm:intel_atomic_commit_tail [i915]] [ENCODER:226:DP-MST A]
<7> [30.309270] [drm:intel_atomic_commit_tail [i915]] [ENCODER:227:DP-MST B]
<7> [30.309306] [drm:intel_atomic_commit_tail [i915]] [ENCODER:228:DP-MST C]
<7> [30.309348] [drm:verify_single_dpll_state.isra.100 [i915]] DPLL 0
<7> [30.309390] [drm:verify_single_dpll_state.isra.100 [i915]] DPLL 1
<7> [30.309431] [drm:verify_single_dpll_state.isra.100 [i915]] TBT PLL
<7> [30.309471] [drm:verify_single_dpll_state.isra.100 [i915]] MG PLL 1
<7> [30.309514] [drm:verify_single_dpll_state.isra.100 [i915]] MG PLL 2
<7> [30.309554] [drm:verify_single_dpll_state.isra.100 [i915]] MG PLL 3
<7> [30.309593] [drm:verify_single_dpll_state.isra.100 [i915]] MG PLL 4
<7> [30.309648] [drm:intel_power_well_enable [i915]] enabling AUX B
<7> [30.309705] [drm:intel_enable_shared_dpll [i915]] enable DPLL 1 (active 2, on? 0) for crtc 135
<7> [30.309747] [drm:intel_enable_shared_dpll [i915]] enabling DPLL 1
<7> [30.310236] [drm:intel_power_well_enable [i915]] enabling DDI B IO
<7> [30.311106] [drm:intel_dp_start_link_train [i915]] Using LINK_BW_SET value 14
<7> [30.311533] [drm:intel_dp_set_signal_levels [i915]] Using vswing level 0
<7> [30.311579] [drm:intel_dp_set_signal_levels [i915]] Using pre-emphasis level 0
<7> [30.311626] [drm:intel_dp_program_link_training_pattern [i915]] Using DP training pattern TPS1
<7> [30.312393] [drm:intel_dp_set_signal_levels [i915]] Using vswing level 1
<7> [30.312437] [drm:intel_dp_set_signal_levels [i915]] Using pre-emphasis level 1
<7> [30.313190] [drm:intel_dp_set_signal_levels [i915]] Using vswing level 2
<7> [30.313231] [drm:intel_dp_set_signal_levels [i915]] Using pre-emphasis level 1
<7> [30.313943] [drm:intel_dp_start_link_train [i915]] clock recovery OK
<7> [30.313993] [drm:intel_dp_program_link_training_pattern [i915]] Using DP training pattern TPS3
<7> [30.314998] [drm:intel_dp_start_link_train [i915]] Channel EQ done. DP Training successful
<7> [30.315134] [drm:intel_dp_start_link_train [i915]] [CONNECTOR:198:DP-1] Link Training Passed at Link Rate = 540000, Lane count = 4
<4> [30.315310] ------------[ cut here ]------------
<4> [30.315313] WARN_ON(crtc_state->scaler_state.scaler_id < 0)
<4> [30.315380] WARNING: CPU: 0 PID: 1271 at drivers/gpu/drm/i915/intel_display.c:5058 skylake_pfit_enable+0x15b/0x170 [i915]
<4> [30.315395] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic x86_pkg_temp_thermal coretemp i915 crct10dif_pclmul crc32_pclmul snd_hda_intel ghash_clmulni_intel snd_hda_codec snd_hwdep snd_hda_core btusb btrtl btbcm btintel cdc_ether usbnet snd_pcm mii e1000e bluetooth i2c_i801 ecdh_generic prime_numbers
<4> [30.315431] CPU: 0 PID: 1271 Comm: kms_draw_crc Not tainted 4.20.0-rc5-gaa9c6fcde5fb-drmtip_168+ #1
<4> [30.315434] Hardware name: Intel Corporation Ice Lake Client Platform/IceLake U DDR4 SODIMM PD RVP TLC, BIOS ICLSFWR1.R00.2402.AD3.1810170014 10/17/2018
<4> [30.315478] RIP: 0010:skylake_pfit_enable+0x15b/0x170 [i915]
<4> [30.315481] Code: ef b9 01 00 00 00 5b 5d 41 5c 41 5d 41 5e 41 5f e9 6a eb 62 cd f3 c3 48 c7 c6 d8 18 6b c0 48 c7 c7 98 be 68 c0 e8 75 87 ab cc <0f> 0b 5b 5d 41 5c 41 5d 41 5e 41 5f c3 0f 1f 84 00 00 00 00 00 0f
<4> [30.315485] RSP: 0018:ffffae6080ce3990 EFLAGS: 00010282
<4> [30.315489] RAX: 0000000000000000 RBX: ffffa3e84fde4138 RCX: 0000000000000006
<4> [30.315492] RDX: 0000000000000006 RSI: ffffffff8e0ff64a RDI: ffffffff8e0ab0e7
<4> [30.315495] RBP: ffffa3e85fed0000 R08: 00000000d11ce93f R09: 0000000000000000
<4> [30.315498] R10: 0000000000000000 R11: 0000000000000000 R12: ffffa3e84f248958
<4> [30.315501] R13: ffffa3e85fed0000 R14: 00000000fffffffd R15: ffffa3e84fde0008
<4> [30.315504] FS:  00007f8a3251f980(0000) GS:ffffa3e86fe00000(0000) knlGS:0000000000000000
<4> [30.315508] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [30.315511] CR2: 00007fd9a4028008 CR3: 00000004a4e42002 CR4: 0000000000760ef0
<4> [30.315514] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
<4> [30.315517] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
<4> [30.315519] PKRU: 55555554
<4> [30.315522] Call Trace:
<4> [30.315571]  haswell_crtc_enable+0x1c5/0x7d0 [i915]
<4> [30.315622]  intel_update_crtc+0x54/0x2b0 [i915]
<4> [30.315689]  skl_update_crtcs+0x1d1/0x2b0 [i915]
<4> [30.315738]  intel_atomic_commit_tail+0x1ea/0xd70 [i915]
<4> [30.315792]  intel_atomic_commit+0x244/0x330 [i915]
<4> [30.315802]  drm_atomic_helper_set_config+0x7b/0x90
<4> [30.315809]  drm_mode_setcrtc+0x192/0x6e0
<4> [30.315839]  ? drm_mode_getcrtc+0x180/0x180
<4> [30.315852]  drm_ioctl_kernel+0x81/0xf0
<4> [30.315861]  drm_ioctl+0x2de/0x390
<4> [30.315868]  ? drm_mode_getcrtc+0x180/0x180
<4> [30.315883]  ? remove_vma+0x52/0x60
<4> [30.315888]  ? rcu_read_lock_sched_held+0x6f/0x80
<4> [30.315896]  do_vfs_ioctl+0xa0/0x6e0
<4> [30.315907]  ksys_ioctl+0x35/0x60
<4> [30.315914]  __x64_sys_ioctl+0x11/0x20
<4> [30.315919]  do_syscall_64+0x55/0x190
<4> [30.315925]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4> [30.315928] RIP: 0033:0x7f8a3178e5d7
<4> [30.315932] Code: b3 66 90 48 8b 05 b1 48 2d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 81 48 2d 00 f7 d8 64 89 01 48
<4> [30.315935] RSP: 002b:00007fff58d83778 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
<4> [30.315939] RAX: ffffffffffffffda RBX: 00007fff58d837b0 RCX: 00007f8a3178e5d7
<4> [30.315942] RDX: 00007fff58d837b0 RSI: 00000000c06864a2 RDI: 0000000000000005
<4> [30.315945] RBP: 00007fff58d837b0 R08: 0000000000000000 R09: 00005607dfd10144
<4> [30.315948] R10: 00005607dfd3aa70 R11: 0000000000000246 R12: 00000000c06864a2
<4> [30.315951] R13: 0000000000000005 R14: 0000000000000000 R15: 0000000000000000
<4> [30.315965] irq event stamp: 82382
<4> [30.315971] hardirqs last  enabled at (82381): [<ffffffff8d101164>] vprintk_emit+0x124/0x320
<4> [30.315974] hardirqs last disabled at (82382): [<ffffffff8d0019b0>] trace_hardirqs_off_thunk+0x1a/0x1c
<4> [30.315979] softirqs last  enabled at (81700): [<ffffffff8dc0033a>] __do_softirq+0x33a/0x4b9
<4> [30.315983] softirqs last disabled at (81693): [<ffffffff8d093009>] irq_exit+0xa9/0xc0
<4> [30.316024] WARNING: CPU: 0 PID: 1271 at drivers/gpu/drm/i915/intel_display.c:5058 skylake_pfit_enable+0x15b/0x170 [i915]
<4> [30.316027] ---[ end trace fbcf6d61bc8a5eff ]---
Comment 1 Jani Saarinen 2019-01-18 13:55:26 UTC
Only seen once, low re-production rate. Keep priority.
Comment 2 Martin Peres 2019-03-08 16:54:57 UTC
Seen only once, 71 runs ago. Enough has changed on this machine to warrant closure of this bug. Closing!
Comment 3 CI Bug Log 2019-03-08 17:09:52 UTC
The CI Bug Log issue associated to this bug has been archived.

New failures matching the above filters will not be associated to this bug anymore.


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.