From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752909AbbIXJS6 (ORCPT ); Thu, 24 Sep 2015 05:18:58 -0400 Received: from mga01.intel.com ([192.55.52.88]:51733 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752507AbbIXJSy (ORCPT ); Thu, 24 Sep 2015 05:18:54 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,580,1437462000"; d="scan'208";a="811903987" From: Jani Nikula To: Sedat Dilek , Sedat Dilek , intel-gfx , DRI , LKML , Chris Wilson , Jairo Miramontes Cc: Daniel Vetter Subject: Re: [regression] Re: [Linux-v4.2-10463-g9a9952bbd76a] i915: WARNING: intel_display.c:1377 assert_planes_disabled In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20150923071846.GA3383@phenom.ffwll.local> User-Agent: Notmuch/0.20.2+57~gff3a03d (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) Date: Thu, 24 Sep 2015 12:18:45 +0300 Message-ID: <87pp186uq2.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 24 Sep 2015, Sedat Dilek wrote: > On Wed, Sep 23, 2015 at 9:18 AM, Daniel Vetter wrote: >> Adding Jairo to track this regression. > > Hi, > > commit 721a09f7393de6c28a07516dccd654c6e995944a > "drm/i915: Add primary plane to mask if it's visible" > > ...pending in drm-intel.git#drm-intel-fixes fixes the issue here. Thanks for following up. The pull request has been sent. http://mid.gmane.org/87si646uyf.fsf@intel.com BR, Jani. > > - sed@ - > > [1] http://cgit.freedesktop.org/drm-intel/commit/?h=drm-intel-fixes&id=721a09f7393de6c28a07516dccd654c6e995944a > >> -Daniel >> >> On Wed, Sep 23, 2015 at 08:23:04AM +0200, Sedat Dilek wrote: >>> On Sun, Sep 13, 2015 at 9:06 AM, Sedat Dilek wrote: >>> > On Wed, Sep 9, 2015 at 4:42 AM, Sedat Dilek wrote: >>> >> [ TO INTEL DRM DRIVERS maintainers ] >>> >> >>> >> Hi, >>> >> >>> >> out of curiosity and to play with the new bindeb-pkg make-target I >>> >> built pre-v4.3-rc1 (git-describe says v4.2-10463-g9a9952bbd76a) >>> >> Debian-kernel packages. >>> >> >>> >> I see several bugs and call-traces. >>> >> >>> >> Two hit a warning in i915 (one snippet here, full dmesg-log and >>> >> kernel-config are attached). >>> >> >>> >> [ 20.920943] ------------[ cut here ]------------ >>> >> [ 20.920982] WARNING: CPU: 0 PID: 114 at >>> >> drivers/gpu/drm/i915/intel_display.c:1377 >>> >> assert_planes_disabled+0xe4/0x150 [i915]() >>> >> [ 20.920983] plane A assertion failure, should be disabled but not >>> >> [ 20.921023] Modules linked in: i915 mac80211 snd_hda_codec_hdmi >>> >> snd_hda_codec_realtek snd_hda_codec_generic uvcvideo snd_hda_intel >>> >> snd_hda_codec videobuf2_vmalloc videobuf2_memops videobuf2_core rfcomm >>> >> joydev bnep v4l2_common snd_hwdep iwlwifi videodev usb_storage >>> >> kvm_intel snd_hda_core parport_pc cfg80211 btusb i2c_algo_bit >>> >> drm_kms_helper ppdev btrtl btbcm snd_pcm btintel kvm bluetooth >>> >> snd_seq_midi psmouse snd_seq_midi_event snd_rawmidi syscopyarea >>> >> snd_seq sysfillrect sysimgblt fb_sys_fops drm snd_timer snd_seq_device >>> >> serio_raw samsung_laptop snd lpc_ich video soundcore wmi intel_rst >>> >> mac_hid lp parport binfmt_misc hid_generic usbhid hid r8169 mii >>> >> [ 20.921026] CPU: 0 PID: 114 Comm: kworker/u16:5 Not tainted >>> >> 4.2.0-10463.1-iniza-small #1 >>> >> [ 20.921027] Hardware name: SAMSUNG ELECTRONICS CO., LTD. >>> >> 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013 >>> >> [ 20.921033] Workqueue: events_unbound async_run_entry_fn >>> >> [ 20.921037] ffffffffa06a9d60 ffff8800378af718 ffffffff813df89b >>> >> ffff8800378af760 >>> >> [ 20.921039] ffff8800378af750 ffffffff8107cdc6 ffff8800c2000000 >>> >> 0000000000000000 >>> >> [ 20.921042] 0000000000000000 ffff8800bf90b000 ffff8800bf90b000 >>> >> ffff8800378af7b0 >>> >> [ 20.921043] Call Trace: >>> >> [ 20.921046] [] dump_stack+0x4b/0x70 >>> >> [ 20.921050] [] warn_slowpath_common+0x86/0xc0 >>> >> [ 20.921052] [] warn_slowpath_fmt+0x4c/0x50 >>> >> [ 20.921081] [] assert_planes_disabled+0xe4/0x150 [i915] >>> >> [ 20.921106] [] intel_disable_pipe+0x4f/0x2d0 [i915] >>> >> [ 20.921129] [] ironlake_crtc_disable+0x85/0x7d0 [i915] >>> >> [ 20.921151] [] ? >>> >> intel_crtc_disable_planes+0xde/0xf0 [i915] >>> >> [ 20.921176] [] intel_atomic_commit+0x108/0x1370 [i915] >>> >> [ 20.921192] [] ? drm_atomic_check_only+0x1d7/0x5a0 [drm] >>> >> [ 20.921205] [] ? >>> >> drm_atomic_get_connector_state+0x49/0x110 [drm] >>> >> [ 20.921216] [] drm_atomic_commit+0x37/0x60 [drm] >>> >> [ 20.921223] [] >>> >> drm_atomic_helper_set_config+0x1ca/0x430 [drm_kms_helper] >>> >> [ 20.921234] [] >>> >> drm_mode_set_config_internal+0x65/0x110 [drm] >>> >> [ 20.921240] [] restore_fbdev_mode+0xbe/0xe0 >>> >> [drm_kms_helper] >>> >> [ 20.921246] [] >>> >> drm_fb_helper_restore_fbdev_mode_unlocked+0x25/0x70 [drm_kms_helper] >>> >> [ 20.921251] [] drm_fb_helper_set_par+0x2d/0x50 >>> >> [drm_kms_helper] >>> >> [ 20.921280] [] intel_fbdev_set_par+0x1a/0x60 [i915] >>> >> [ 20.921283] [] fbcon_init+0x53e/0x5d0 >>> >> [ 20.921286] [] visual_init+0xca/0x130 >>> >> [ 20.921289] [] do_bind_con_driver+0x167/0x3a0 >>> >> [ 20.921292] [] do_take_over_console+0xac/0x1d0 >>> >> [ 20.921294] [] do_fbcon_takeover+0x57/0xb0 >>> >> [ 20.921296] [] fbcon_event_notify+0x752/0x860 >>> >> [ 20.921299] [] ? __blocking_notifier_call_chain+0x35/0x70 >>> >> [ 20.921301] [] notifier_call_chain+0x5d/0x80 >>> >> [ 20.921304] [] __blocking_notifier_call_chain+0x4d/0x70 >>> >> [ 20.921306] [] blocking_notifier_call_chain+0x16/0x20 >>> >> [ 20.921308] [] fb_notifier_call_chain+0x1b/0x20 >>> >> [ 20.921311] [] register_framebuffer+0x204/0x330 >>> >> [ 20.921317] [] >>> >> drm_fb_helper_initial_config+0x234/0x3b0 [drm_kms_helper] >>> >> [ 20.921344] [] intel_fbdev_initial_config+0x1b/0x20 [i915] >>> >> [ 20.921346] [] async_run_entry_fn+0x37/0xe0 >>> >> [ 20.921349] [] process_one_work+0x1e1/0x620 >>> >> [ 20.921352] [] ? process_one_work+0x156/0x620 >>> >> [ 20.921353] [] worker_thread+0x69/0x480 >>> >> [ 20.921355] [] ? cancel_delayed_work_sync+0x20/0x20 >>> >> [ 20.921357] [] kthread+0x10a/0x120 >>> >> [ 20.921360] [] ? kthread_create_on_node+0x200/0x200 >>> >> [ 20.921364] [] ret_from_fork+0x3f/0x70 >>> >> [ 20.921366] [] ? kthread_create_on_node+0x200/0x200 >>> >> [ 20.921367] ---[ end trace 85fce5c152ff4528 ]--- >>> >> >>> >> Some intelgfx hardware infos (see attached Xorg.0.log)... >>> >> >>> >> [ 27.487] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD >>> >> Graphics 3000 >>> >> [ 27.565] (II) intel(0): SNA initialized with Sandybridge (gen6, gt2) backend >>> >> >>> >> Please have a look at it. >>> >> >>> >> If this is a known issue, please let me know and kindly point me to a >>> >> patch (patchwork preferred) or commit-id in drm-intel Git. >>> >> ( Sorry, I have not checked any mailing-lists or patchwork. ) >>> >> >>> >> If you need more infos, logs and/or debug material please let me know >>> >> and give clear instructions (especially for debugging). >>> >> >>> >> >>> > >>> > I still see this issue with Linux v4.3-rc1. >>> > >>> >>> Hi Daniel, >>> >>> any progress with this reported issue? >>> >>> I looked into drm-intel.git#drm-intel-fixes, but see only a kernel-doc fix. >>> ( I tried also some drm-intel-nightly, not the latest - and still saw >>> the issue. ) >>> >>> This issue is still alive in Linux v4.3-rc2. >>> >>> What can I do to help? >>> >>> Please, take care of this. >>> >>> Thanks!. >>> >>> Regards, >>> - Sedat - >> >> -- >> Daniel Vetter >> Software Engineer, Intel Corporation >> http://blog.ffwll.ch -- Jani Nikula, Intel Open Source Technology Center