Bug 98805 - compute_config() on unknown output!
Summary: compute_config() on unknown output!
Status: CLOSED 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: 2016-11-21 10:04 UTC by Tvrtko Ursulin
Modified: 2017-03-29 07:52 UTC (History)
1 user (show)

See Also:
i915 platform: SKL
i915 features: display/atomic


Attachments
dmesg (292.43 KB, text/plain)
2016-11-21 10:04 UTC, Tvrtko Ursulin
no flags Details

Description Tvrtko Ursulin 2016-11-21 10:04:24 UTC
Created attachment 128099 [details]
dmesg

I can get this trace with the current nightly when running the kms_setmode/basic. Interesting thing is that the HDMI is not connected to anything on this laptop (eDP only). Full dmesg attached.

[ 1492.820673] [drm:intel_power_well_disable [i915]] disabling always-on
[ 1492.821236] [drm:drm_mode_setcrtc [drm]] [CRTC:31:pipe A]
[ 1492.821619] [drm:drm_mode_setcrtc [drm]] [CRTC:38:pipe B]
[ 1492.822098] [drm:drm_mode_setcrtc [drm]] [CRTC:45:pipe C]
[ 1492.822683] [drm:drm_mode_addfb2 [drm]] [FB:67]
[ 1492.830984] [drm:drm_mode_addfb2 [drm]] [FB:68]
[ 1492.840043] [drm:drm_mode_setcrtc [drm]] [CRTC:31:pipe A]
[ 1492.840059] [drm:drm_mode_setcrtc [drm]] [CONNECTOR:60:HDMI-A-1]
[ 1492.840092] [drm:intel_atomic_check [i915]] [CONNECTOR:60:HDMI-A-1] checking for sink bpp constrains
[ 1492.840109] [drm:intel_atomic_check [i915]] clamping display bpp (was 36) to default limit of 24
[ 1492.840112] ------------[ cut here ]------------
[ 1492.840128] WARNING: CPU: 0 PID: 2622 at drivers/gpu/drm/i915/intel_ddi.c:2059 intel_ddi_compute_config+0xa4/0xe0 [i915]
[ 1492.840130] compute_config() on unknown output!
[ 1492.840132] Modules linked in: netconsole scsi_transport_iscsi fuse vfat fat x86_pkg_temp_thermal coretemp intel_cstate intel_uncore snd_hda_codec_hdmi snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hwdep snd_hda_core snd_pcm snd_timer snd intel_rapl_perf mei_me mei intel_pch_thermal serio_raw soundcore wmi acpi_pad i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops r8169 drm mii video
[ 1492.840189] CPU: 0 PID: 2622 Comm: kms_setmode Tainted: G     U  W       4.9.0-rc5+ #170
[ 1492.840191] Hardware name: LENOVO 80MX/Lenovo E31-80, BIOS DCCN34WW(V2.03) 12/01/2015
[ 1492.840318]  ffffc90001377a48 ffffffffa13220bc ffffc90001377a98 0000000000000000
[ 1492.840324]  ffffc90001377a88 ffffffffa1059bcb 0000080b00000000 000000000000000a
[ 1492.840330]  ffff88016d815000 ffff88015e6e0000 ffff88016025a000 ffff88016a414880
[ 1492.840336] Call Trace:
[ 1492.840341]  [<ffffffffa13220bc>] dump_stack+0x4f/0x73
[ 1492.840345]  [<ffffffffa1059bcb>] __warn+0xcb/0xf0
[ 1492.840348]  [<ffffffffa1059c4f>] warn_slowpath_fmt+0x5f/0x80
[ 1492.840363]  [<ffffffffc02e2b24>] intel_ddi_compute_config+0xa4/0xe0 [i915]
[ 1492.840379]  [<ffffffffc02c2138>] intel_atomic_check+0x308/0x1120 [i915]
[ 1492.840390]  [<ffffffffc017fe98>] drm_atomic_check_only+0x328/0x5b0 [drm]
[ 1492.840398]  [<ffffffffc017f8bc>] ? drm_atomic_set_crtc_for_connector+0xbc/0xf0 [drm]
[ 1492.840406]  [<ffffffffc0180138>] drm_atomic_commit+0x18/0x50 [drm]
[ 1492.840414]  [<ffffffffc0214a42>] drm_atomic_helper_set_config+0x82/0xe0 [drm_kms_helper]
[ 1492.840423]  [<ffffffffc0174b35>] drm_mode_set_config_internal+0x65/0x110 [drm]
[ 1492.840431]  [<ffffffffc01754dd>] drm_mode_setcrtc+0x43d/0x530 [drm]
[ 1492.840440]  [<ffffffffc0183268>] ? drm_mode_dirtyfb_ioctl+0x78/0x1a0 [drm]
[ 1492.840448]  [<ffffffffc016ce69>] drm_ioctl+0x1f9/0x480 [drm]
[ 1492.840456]  [<ffffffffc01750a0>] ? drm_mode_getcrtc+0x140/0x140 [drm]
[ 1492.840460]  [<ffffffffa11926cd>] ? vma_merge+0x22d/0x340
[ 1492.840463]  [<ffffffffa11eefa3>] do_vfs_ioctl+0xa3/0x5e0
[ 1492.840466]  [<ffffffffa1346e75>] ? __percpu_counter_add+0x85/0xb0
[ 1492.840468]  [<ffffffffa11931f8>] ? do_munmap+0x338/0x460
[ 1492.840471]  [<ffffffffa11ef521>] SyS_ioctl+0x41/0x70
[ 1492.840474]  [<ffffffffa169fc20>] entry_SYSCALL_64_fastpath+0x13/0x94
[ 1492.840500] ---[ end trace a271b710ff085f92 ]---
[ 1492.840502] ------------[ cut here ]------------
[
Comment 1 Jari Tahvanainen 2017-03-27 12:41:49 UTC
Hello Tvrtko, do you still see this issue?
Comment 2 Tvrtko Ursulin 2017-03-29 07:52:17 UTC
WARN is gone, but I have to say the test now fails. I will close this bug nevertheless.


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.