From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Subject: Re: [PATCH] drm/i915: Wrap the preallocated BIOS framebuffer and preserve for KMS fbcon v5 Date: Thu, 7 Nov 2013 11:56:33 -0800 Message-ID: <20131107115633.61a87c98@jbarnes-desktop> References: <1383765955-922-1-git-send-email-jbarnes@virtuousgeek.org> <1383853213-831-1-git-send-email-jbarnes@virtuousgeek.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from oproxy1-pub.mail.unifiedlayer.com (oproxy1-pub.mail.unifiedlayer.com [66.147.249.253]) by gabe.freedesktop.org (Postfix) with SMTP id 84CEBF127D for ; Thu, 7 Nov 2013 12:02:25 -0800 (PST) Received: from [67.161.37.189] (port=36889 helo=jbarnes-desktop) by box514.bluehost.com with esmtpsa (TLSv1:CAMELLIA128-SHA:128) (Exim 4.80) (envelope-from ) id 1VeVg7-0008NU-Pq for intel-gfx@lists.freedesktop.org; Thu, 07 Nov 2013 12:55:43 -0700 In-Reply-To: <1383853213-831-1-git-send-email-jbarnes@virtuousgeek.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org Note that with this patch I see this on boot when the preallocated objects are scanned: [ 3.951078] WARNING: CPU: 1 PID: 398 at lib/list_debug.c:36 __list_add+0x8a/0 xc0() [ 3.951081] list_add double add: new=ffff88003fa42ba8, prev=ffff88003f9903c0, next=ffff88003fa42ba8. [ 3.951083] Modules linked in: coretemp snd_hda_intel(+) kvm_intel kvm vfat f at i915(OF+) snd_hda_codec snd_hwdep crc32_pclmul snd_seq crc32c_intel snd_seq_d evice snd_pcm ghash_clmulni_intel microcode snd_page_alloc snd_timer snd asix se rio_raw soundcore usbnet shpchp mii i2c_algo_bit drm_kms_helper(OF) drm(OF) i2c_ core sdhci_acpi video nfsd sdhci mmc_core acpi_cpufreq auth_rpcgss nfs_acl lockd sunrpc usb_storage [ 3.951122] CPU: 1 PID: 398 Comm: systemd-udevd Tainted: GF W O 3.12.0+ #8 [ 3.951125] Hardware name: Intel Corp. VALLEYVIEW B3 PLATFORM/NOTEBOOK, BIOS BBAYCRB1.X64.0060.R40.1309121618 BBAY_X64_R_V60_40 09/12/2013 [ 3.951127] 0000000000000009 ffff88003ffd3790 ffffffff81640eb8 ffff88003ffd37d8 [ 3.951132] ffff88003ffd37c8 ffffffff810680dd ffff88003fa42ba8 ffff88003fa42ba8 [ 3.951136] ffff88003f9903c0 ffff8800752ce870 ffff88003f990300 ffff88003ffd3828 [ 3.951140] Call Trace: [ 3.951148] [] dump_stack+0x45/0x56 [ 3.951154] [] warn_slowpath_common+0x7d/0xa0 [ 3.951158] [] warn_slowpath_fmt+0x4c/0x50 [ 3.951178] [] ? drm_mm_reserve_node+0xe5/0x170 [drm] [ 3.951199] [] __list_add+0x8a/0xc0 [ 3.951230] [] i915_gem_setup_global_gtt+0xc0/0x280 [i915] [ 3.951256] [] i915_gem_init_global_gtt+0x444/0x980 [i915] [ 3.951280] [] ? i9xx_get_fb_config+0x268/0x370 [i915] [ 3.951304] [] i915_gem_init+0x42/0x180 [i915] [ 3.951324] [] i915_driver_load+0xc50/0xf10 [i915] ... So something is still off with the block management of stolen objects in this patch... -- Jesse Barnes, Intel Open Source Technology Center