From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomi Valkeinen Subject: Re: Possible fb ref count issue with drm_plane_force_disable() Date: Mon, 14 Apr 2014 11:43:44 +0300 Message-ID: <534B9FC0.2020700@ti.com> References: <534684E8.9000203@ti.com> <20140411115054.GC18465@intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1795561656==" Return-path: Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by gabe.freedesktop.org (Postfix) with ESMTP id 8C71E6E035 for ; Mon, 14 Apr 2014 01:43:50 -0700 (PDT) In-Reply-To: <20140411115054.GC18465@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: =?ISO-8859-1?Q?Ville_Syrj=E4l=E4?= Cc: dri-devel List-Id: dri-devel@lists.freedesktop.org --===============1795561656== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jfuBSkJwbVbgqdTMqWDrJ7o94XT1T7ppu" --jfuBSkJwbVbgqdTMqWDrJ7o94XT1T7ppu Content-Type: multipart/mixed; boundary="------------050707070600040605050600" This is a multi-part message in MIME format. --------------050707070600040605050600 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 11/04/14 14:50, Ville Syrj=E4l=E4 wrote: >> So the explicit unref done by drm_plane_force_disable() seems a bit ou= t >> of place. I can't figure out which drm_framebuffer_reference() would b= e >> the matching one for the unref done by drm_plane_force_disable(). >> >> Any ideas what ref is that? Or is the __drm_framebuffer_unreference() >> extra in drm_plane_force_disable()? >=20 > That's the reference that was taken by the drm_mode_setplane() when it > succesfully called the .update_plane() hook. But drm_mode_setplane() is called via DRM_IOCTL_MODE_SETPLANE, which is only used for "proper" planes, not for crtc primary planes, right? At least I don't see drm_mode_setplane() in my stack traces, and git grep doesn't show it called via any other means than ioctl. I am not using any planes from my app, just the crtc and (indirectly) its primary plane. I've attached a slightly cleaned up log when running my test app. I have dump_stack()s in the drm_framebuffer_(un)reference functions, and a printk just before the dump_stack which prints something like "REF FB ID: 36: 2", where 36 is the fb id, and 2 is the ref count after the ref/unref. In the middle of the log there are multiple blank lines, that's where I ctrl-c the app and it starts shutting down. FB ID 35 is probably the fbconsole fb, and 36 is the app's fb. And at some point the FB ID 36 changes to 0, as the drm framework clears it. > __drm_framebuffer_unregister() drops the "idr reference" taken in > drm_framebuffer_init(). What's "idr"? Tomi --------------050707070600040605050600 Content-Type: text/x-log; name="m.log" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="m.log" # ./nfs/work/omapdrm-tests/perf using card '/dev/dri/card0' mode for connector 5 is 1920x1200 1920x1200, stride 7680, size 9216000 [ 3145.642944] REF FB ID: 36: 2 [ 3145.649841] CPU: 0 PID: 1525 Comm: perf Tainted: G W 3.15.0= -rc1-00033-g16787b3dfc0f #45 [ 3145.661102] Backtrace:=20 [ 3145.663726] [] (dump_backtrace) from [] (show_stac= k+0x18/0x1c) [ 3145.672058] [] (show_stack) from [] (dump_stack+0x= 94/0xc8) [ 3145.685607] [] (dump_stack) from [] (drm_framebuff= er_reference+0x54/0x98 [drm]) [ 3145.695251] [] (drm_framebuffer_reference [drm]) from [] (drm_framebuffer_init+0x64/0x94 [drm]) [ 3145.714233] [] (drm_framebuffer_init [drm]) from [= ] (omap_framebuffer_init+0x1ec/0x2b0 [omapdrm]) [ 3145.729888] [] (omap_framebuffer_init [omapdrm]) from [] (omap_framebuffer_create+0xe8/0x210 [omapdrm]) [ 3145.754577] [] (omap_framebuffer_create [omapdrm]) from [] (drm_mode_addfb2+0x6b8/0x88c [drm]) [ 3145.776672] [] (drm_mode_addfb2 [drm]) from [] (dr= m_ioctl+0x198/0x508 [drm]) [ 3145.797180] [] (drm_ioctl [drm]) from [] (do_vfs_i= octl+0x80/0x628) [ 3145.810394] [] (do_vfs_ioctl) from [] (SyS_ioctl+0= x6c/0x7c) [ 3145.829864] [] (SyS_ioctl) from [] (ret_fast_sysca= ll+0x0/0x48) [ 3145.851776] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D [ 3145.851776]=20 ignoring unused connector 12 [ 3145.952850] REF FB ID: 36: 3 [ 3145.953002] CPU: 0 PID: 1525 Comm: perf Tainted: G W 3.15.0= -rc1-00033-g16787b3dfc0f #45 [ 3145.967956] Backtrace:=20 [ 3145.970367] [] (dump_backtrace) from [] (show_stac= k+0x18/0x1c) [ 3145.983367] [] (show_stack) from [] (dump_stack+0x= 94/0xc8) [ 3145.992370] [] (dump_stack) from [] (drm_framebuff= er_reference+0x54/0x98 [drm]) [ 3146.002105] [] (drm_framebuffer_reference [drm]) from [] (drm_framebuffer_lookup+0x3c/0x4c [drm]) [ 3146.017639] [] (drm_framebuffer_lookup [drm]) from [] (drm_mode_setcrtc+0xf0/0x4f4 [drm]) [ 3146.032196] [] (drm_mode_setcrtc [drm]) from [] (d= rm_ioctl+0x198/0x508 [drm]) [ 3146.056213] [] (drm_ioctl [drm]) from [] (do_vfs_i= octl+0x80/0x628) [ 3146.075378] [] (do_vfs_ioctl) from [] (SyS_ioctl+0= x6c/0x7c) [ 3146.096649] [] (SyS_ioctl) from [] (ret_fast_sysca= ll+0x0/0x48) [ 3146.105285] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D [ 3146.105285]=20 [ 3146.119659] REF FB ID: 36: 4 [ 3146.122772] CPU: 0 PID: 1525 Comm: perf Tainted: G W 3.15.0= -rc1-00033-g16787b3dfc0f #45 [ 3146.132232] Backtrace:=20 [ 3146.132232] [] (dump_backtrace) from [] (show_stac= k+0x18/0x1c) [ 3146.143157] [] (show_stack) from [] (dump_stack+0x= 94/0xc8) [ 3146.156524] [] (dump_stack) from [] (drm_framebuff= er_reference+0x54/0x98 [drm]) [ 3146.157073] [] (drm_framebuffer_reference [drm]) from [] (drm_mode_set_config_internal+0xa8/0xf0 [drm]) [ 3146.182342] [] (drm_mode_set_config_internal [drm]) from [] (drm_mode_setcrtc+0xcc/0x4f4 [drm]) [ 3146.200714] [] (drm_mode_setcrtc [drm]) from [] (d= rm_ioctl+0x198/0x508 [drm]) [ 3146.223815] [] (drm_ioctl [drm]) from [] (do_vfs_i= octl+0x80/0x628) [ 3146.240539] [] (do_vfs_ioctl) from [] (SyS_ioctl+0= x6c/0x7c) [ 3146.259918] [] (SyS_ioctl) from [] (ret_fast_sysca= ll+0x0/0x48) [ 3146.278350] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D [ 3146.278350]=20 [ 3146.283996] UNREF FB ID: 35: 3 [ 3146.284454] CPU: 0 PID: 1525 Comm: perf Tainted: G W 3.15.0= -rc1-00033-g16787b3dfc0f #45 [ 3146.296722] Backtrace:=20 [ 3146.296905] [] (dump_backtrace) from [] (show_stac= k+0x18/0x1c) [ 3146.309875] [] (show_stack) from [] (dump_stack+0x= 94/0xc8) [ 3146.319763] [] (dump_stack) from [] (drm_framebuff= er_unreference+0x28/0x70 [drm]) [ 3146.334899] [] (drm_framebuffer_unreference [drm]) from [] (drm_mode_set_config_internal+0xb8/0xf0 [drm]) [ 3146.347167] [] (drm_mode_set_config_internal [drm]) from [] (drm_mode_setcrtc+0xcc/0x4f4 [drm]) [ 3146.362243] [] (drm_mode_setcrtc [drm]) from [] (d= rm_ioctl+0x198/0x508 [drm]) [ 3146.381774] [] (drm_ioctl [drm]) from [] (do_vfs_i= octl+0x80/0x628) [ 3146.402191] [] (do_vfs_ioctl) from [] (SyS_ioctl+0= x6c/0x7c) [ 3146.420684] [] (SyS_ioctl) from [] (ret_fast_sysca= ll+0x0/0x48) [ 3146.439788] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D [ 3146.439788]=20 [ 3146.448791] UNREF FB ID: 36: 3 [ 3146.452056] CPU: 0 PID: 1525 Comm: perf Tainted: G W 3.15.0= -rc1-00033-g16787b3dfc0f #45 [ 3146.461547] Backtrace:=20 [ 3146.464172] [] (dump_backtrace) from [] (show_stac= k+0x18/0x1c) [ 3146.472930] [] (show_stack) from [] (dump_stack+0x= 94/0xc8) [ 3146.485992] [] (dump_stack) from [] (drm_framebuff= er_unreference+0x28/0x70 [drm]) [ 3146.499755] [] (drm_framebuffer_unreference [drm]) from [] (drm_mode_setcrtc+0x244/0x4f4 [drm]) [ 3146.511077] [] (drm_mode_setcrtc [drm]) from [] (d= rm_ioctl+0x198/0x508 [drm]) [ 3146.535278] [] (drm_ioctl [drm]) from [] (do_vfs_i= octl+0x80/0x628) [ 3146.550720] [] (do_vfs_ioctl) from [] (SyS_ioctl+0= x6c/0x7c) [ 3146.573486] [] (SyS_ioctl) from [] (ret_fast_sysca= ll+0x0/0x48) [ 3146.589904] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D [ 3146.589904]=20 sequential_line_read: [ 3146.627410] UPDATE PIN REF [ 3146.630371] REF FB ID: 36: 4 [ 3146.630584] CPU: 1 PID: 1519 Comm: kworker/u4:0 Tainted: G W = 3.15.0-rc1-00033-g16787b3dfc0f #45 [ 3146.643646] Workqueue: omapdrm apply_worker [omapdrm] [ 3146.643646] Backtrace:=20 [ 3146.651733] [] (dump_backtrace) from [] (show_stac= k+0x18/0x1c) [ 3146.663604] [] (show_stack) from [] (dump_stack+0x= 94/0xc8) [ 3146.663604] [] (dump_stack) from [] (drm_framebuff= er_reference+0x54/0x98 [drm]) [ 3146.683563] [] (drm_framebuffer_reference [drm]) from [] (omap_plane_pre_apply+0x188/0x248 [omapdrm]) [ 3146.702331] [] (omap_plane_pre_apply [omapdrm]) from [] (apply_worker+0xb0/0x178 [omapdrm]) [ 3146.721527] [] (apply_worker [omapdrm]) from [] (p= rocess_one_work+0x1b8/0x510) [ 3146.740753] [] (process_one_work) from [] (worker_= thread+0x120/0x394) [ 3146.764434] [] (worker_thread) from [] (kthread+0x= d0/0xec) [ 3146.783142] [] (kthread) from [] (ret_from_fork+0x= 14/0x2c) [ 3146.795562] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D [ 3146.795562]=20 [ 3146.810913] sleep [ 3148.320739] sleep done [ 3148.320739] UNPIN WORKER UNREF [ 3148.320739] UNREF FB ID: 35: 2 [ 3148.329681] CPU: 1 PID: 1519 Comm: kworker/u4:0 Tainted: G W = 3.15.0-rc1-00033-g16787b3dfc0f #45 [ 3148.340087] Workqueue: omapdrm flip_worker [drm] [ 3148.340087] Backtrace:=20 [ 3148.340087] [] (dump_backtrace) from [] (show_stac= k+0x18/0x1c) [ 3148.361633] [] (show_stack) from [] (dump_stack+0x= 94/0xc8) [ 3148.369354] [] (dump_stack) from [] (drm_framebuff= er_unreference+0x28/0x70 [drm]) [ 3148.381744] [] (drm_framebuffer_unreference [drm]) from [] (unpin_worker+0x54/0x70 [omapdrm]) [ 3148.396453] [] (unpin_worker [omapdrm]) from [] (f= lip_worker+0x94/0xa0 [drm]) [ 3148.410858] [] (flip_worker [drm]) from [] (proces= s_one_work+0x1b8/0x510) [ 3148.427215] [] (process_one_work) from [] (worker_= thread+0x120/0x394) [ 3148.445404] [] (worker_thread) from [] (kthread+0x= d0/0xec) [ 3148.466766] [] (kthread) from [] (ret_from_fork+0x= 14/0x2c) [ 3148.480407] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D [ 3148.480407]=20 72 frames, 3164001 us, 22 fps sequential_line_write:=20 =03[ 3152.279907] __UNREF FB ID: 0: 3 [ 3152.283325] CPU: 1 PID: 1525 Comm: perf Tainted: G W 3.15.0= -rc1-00033-g16787b3dfc0f #45 [ 3152.292846] Backtrace:=20 [ 3152.293182] [] (dump_backtrace) from [] (show_stac= k+0x18/0x1c) [ 3152.306427] [] (show_stack) from [] (dump_stack+0x= 94/0xc8) [ 3152.317199] [] (dump_stack) from [] (__drm_framebu= ffer_unreference+0x28/0x6c [drm]) [ 3152.329895] [] (__drm_framebuffer_unreference [drm]) from [<= bf1cc878>] (__drm_framebuffer_unregister+0x48/0x4c [drm]) [ 3152.347564] [] (__drm_framebuffer_unregister [drm]) from [] (drm_fb_release+0x60/0xa4 [drm]) [ 3152.360870] [] (drm_fb_release [drm]) from [] (drm= _release+0x494/0x544 [drm]) [ 3152.379943] [] (drm_release [drm]) from [] (__fput= +0x9c/0x1ec) [ 3152.400238] [] (__fput) from [] (____fput+0x10/0x1= 4) [ 3152.421020] [] (____fput) from [] (task_work_run+0= xbc/0x100) [ 3152.431365] [] (task_work_run) from [] (do_exit+0x= 2f8/0x950) [ 3152.441772] [] (do_exit) from [] (do_group_exit+0x= 44/0xb8) [ 3152.457855] [] (do_group_exit) from [] (get_signal= _to_deliver+0x23c/0x67c) [ 3152.472320] [] (get_signal_to_deliver) from [] (do= _signal+0xb4/0x3d8) [ 3152.490112] [] (do_signal) from [] (do_work_pendin= g+0xa4/0xe4) [ 3152.501098] [] (do_work_pending) from [] (work_pen= ding+0xc/0x20) [ 3152.525726] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D [ 3152.525726]=20 [ 3152.531799] UNREF FB ID: 0: 2 [ 3152.532073] CPU: 1 PID: 1525 Comm: perf Tainted: G W 3.15.0= -rc1-00033-g16787b3dfc0f #45 [ 3152.544464] Backtrace:=20 [ 3152.544647] [] (dump_backtrace) from [] (show_stac= k+0x18/0x1c) [ 3152.560943] [] (show_stack) from [] (dump_stack+0x= 94/0xc8) [ 3152.564147] [] (dump_stack) from [] (drm_framebuff= er_unreference+0x28/0x70 [drm]) [ 3152.581207] [] (drm_framebuffer_unreference [drm]) from [] (drm_mode_set_config_internal+0xb8/0xf0 [drm]) [ 3152.595062] [] (drm_mode_set_config_internal [drm]) from [] (drm_framebuffer_remove+0x10c/0x14c [drm]) [ 3152.610778] [] (drm_framebuffer_remove [drm]) from [] (drm_fb_release+0x84/0xa4 [drm]) [ 3152.633911] [] (drm_fb_release [drm]) from [] (drm= _release+0x494/0x544 [drm]) [ 3152.650756] [] (drm_release [drm]) from [] (__fput= +0x9c/0x1ec) [ 3152.669921] [] (__fput) from [] (____fput+0x10/0x1= 4) [ 3152.690704] [] (____fput) from [] (task_work_run+0= xbc/0x100) [ 3152.701080] [] (task_work_run) from [] (do_exit+0x= 2f8/0x950) [ 3152.711456] [] (do_exit) from [] (do_group_exit+0x= 44/0xb8) [ 3152.725189] [] (do_group_exit) from [] (get_signal= _to_deliver+0x23c/0x67c) [ 3152.740295] [] (get_signal_to_deliver) from [] (do= _signal+0xb4/0x3d8) [ 3152.762481] [] (do_signal) from [] (do_work_pendin= g+0xa4/0xe4) [ 3152.776824] [] (do_work_pending) from [] (work_pen= ding+0xc/0x20) [ 3152.792205] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D [ 3152.792205]=20 [ 3152.899841]=20 [ 3152.899841]=20 [ 3152.899841] =3D=3D=3D=3D [ 3152.899841] ABOUT TO FORCE DISABLE PLANE [ 3152.909057] __UNREF FB ID: 0: 1 [ 3152.912384] CPU: 1 PID: 1525 Comm: perf Tainted: G W 3.15.0= -rc1-00033-g16787b3dfc0f #45 [ 3152.921905] Backtrace:=20 [ 3152.922821] [] (dump_backtrace) from [] (show_stac= k+0x18/0x1c) [ 3152.938568] [] (show_stack) from [] (dump_stack+0x= 94/0xc8) [ 3152.938568] [] (dump_stack) from [] (__drm_framebu= ffer_unreference+0x28/0x6c [drm]) [ 3152.959930] [] (__drm_framebuffer_unreference [drm]) from [<= bf1cce1c>] (drm_plane_force_disable+0x38/0x60 [drm]) [ 3152.972442] [] (drm_plane_force_disable [drm]) from [] (drm_framebuffer_remove+0x130/0x14c [drm]) [ 3152.991302] [] (drm_framebuffer_remove [drm]) from [] (drm_fb_release+0x84/0xa4 [drm]) [ 3153.002197] [] (drm_fb_release [drm]) from [] (drm= _release+0x494/0x544 [drm]) [ 3153.030517] [] (drm_release [drm]) from [] (__fput= +0x9c/0x1ec) [ 3153.041168] [] (__fput) from [] (____fput+0x10/0x1= 4) [ 3153.067687] [] (____fput) from [] (task_work_run+0= xbc/0x100) [ 3153.075622] [] (task_work_run) from [] (do_exit+0x= 2f8/0x950) [ 3153.083526] [] (do_exit) from [] (do_group_exit+0x= 44/0xb8) [ 3153.099365] [] (do_group_exit) from [] (get_signal= _to_deliver+0x23c/0x67c) [ 3153.111846] [] (get_signal_to_deliver) from [] (do= _signal+0xb4/0x3d8) [ 3153.134246] [] (do_signal) from [] (do_work_pendin= g+0xa4/0xe4) [ 3153.149810] [] (do_work_pending) from [] (work_pen= ding+0xc/0x20) [ 3153.161926] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D [ 3153.161926]=20 [ 3153.269805]=20 [ 3153.269805]=20 [ 3153.269805] =3D=3D=3D=3D [ 3153.269805] FORCE DISABLE PLANE done [ 3153.269805]=20 [ 3153.280273] UNREF FB ID: 0: 0 [ 3153.283264] CPU: 1 PID: 1525 Comm: perf Tainted: G W 3.15.0= -rc1-00033-g16787b3dfc0f #45 [ 3153.283477] sleep [ 3153.294921] Backtrace:=20 [ 3153.296264] [] (dump_backtrace) from [] (show_stac= k+0x18/0x1c) [ 3153.311645] [] (show_stack) from [] (dump_stack+0x= 94/0xc8) [ 3153.319305] [] (dump_stack) from [] (drm_framebuff= er_unreference+0x28/0x70 [drm]) [ 3153.331756] [] (drm_framebuffer_unreference [drm]) from [] (drm_framebuffer_remove+0x3c/0x14c [drm]) [ 3153.345153] [] (drm_framebuffer_remove [drm]) from [] (drm_fb_release+0x84/0xa4 [drm]) [ 3153.361572] [] (drm_fb_release [drm]) from [] (drm= _release+0x494/0x544 [drm]) [ 3153.384216] [] (drm_release [drm]) from [] (__fput= +0x9c/0x1ec) [ 3153.405364] [] (__fput) from [] (____fput+0x10/0x1= 4) [ 3153.424804] [] (____fput) from [] (task_work_run+0= xbc/0x100) [ 3153.433227] [] (task_work_run) from [] (do_exit+0x= 2f8/0x950) [ 3153.445343] [] (do_exit) from [] (do_group_exit+0x= 44/0xb8) [ 3153.457336] [] (do_group_exit) from [] (get_signal= _to_deliver+0x23c/0x67c) [ 3153.471343] [] (get_signal_to_deliver) from [] (do= _signal+0xb4/0x3d8) [ 3153.491394] [] (do_signal) from [] (do_work_pendin= g+0xa4/0xe4) [ 3153.509094] [] (do_work_pending) from [] (work_pen= ding+0xc/0x20) [ 3153.521850] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D [ 3153.521850]=20 [ 3153.533233] destroy: FB ID: 0 (eb48f7c0) [ 3153.569152] REF FB ID: 35: 3 [ 3153.572265] CPU: 1 PID: 1525 Comm: perf Tainted: G W 3.15.0= -rc1-00033-g16787b3dfc0f #45 [ 3153.572631] Backtrace:=20 [ 3153.581756] [] (dump_backtrace) from [] (show_stac= k+0x18/0x1c) [ 3153.592742] [] (show_stack) from [] (dump_stack+0x= 94/0xc8) [ 3153.606231] [] (dump_stack) from [] (drm_framebuff= er_reference+0x54/0x98 [drm]) [ 3153.619781] [] (drm_framebuffer_reference [drm]) from [] (drm_mode_set_config_internal+0xa8/0xf0 [drm]) [ 3153.631988] [] (drm_mode_set_config_internal [drm]) from [] (drm_fb_helper_restore_fbdev_mode+0xb8/0xd8 [drm_kms_helper]) [ 3153.651550] [] (drm_fb_helper_restore_fbdev_mode [drm_kms_he= lper]) from [] (dev_lastclose+0xc4/0x118 [omapdrm]) [ 3153.670196] [] (dev_lastclose [omapdrm]) from [] (= drm_lastclose+0x38/0x140 [drm]) [ 3153.693176] [] (drm_lastclose [drm]) from [] (drm_= release+0x344/0x544 [drm]) [ 3153.710845] [] (drm_release [drm]) from [] (__fput= +0x9c/0x1ec) [ 3153.730041] [] (__fput) from [] (____fput+0x10/0x1= 4) [ 3153.742401] [] (____fput) from [] (task_work_run+0= xbc/0x100) [ 3153.756072] [] (task_work_run) from [] (do_exit+0x= 2f8/0x950) [ 3153.770874] [] (do_exit) from [] (do_group_exit+0x= 44/0xb8) [ 3153.780212] [] (do_group_exit) from [] (get_signal= _to_deliver+0x23c/0x67c) [ 3153.797729] [] (get_signal_to_deliver) from [] (do= _signal+0xb4/0x3d8) [ 3153.817443] [] (do_signal) from [] (do_work_pendin= g+0xa4/0xe4) [ 3153.833770] [] (do_work_pending) from [] (work_pen= ding+0xc/0x20) [ 3153.850372] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D [ 3153.850372]=20 [ 3153.850860] REF FB ID: 35: 4 [ 3153.857086] CPU: 1 PID: 1525 Comm: perf Tainted: G W 3.15.0= -rc1-00033-g16787b3dfc0f #45 [ 3153.868530] Backtrace:=20 [ 3153.871185] [] (dump_backtrace) from [] (show_stac= k+0x18/0x1c) [ 3153.883178] [] (show_stack) from [] (dump_stack+0x= 94/0xc8) [ 3153.888397] [] (dump_stack) from [] (drm_framebuff= er_reference+0x54/0x98 [drm]) [ 3153.903076] [] (drm_framebuffer_reference [drm]) from [] (drm_mode_set_config_internal+0xa8/0xf0 [drm]) [ 3153.920898] [] (drm_mode_set_config_internal [drm]) from [] (drm_fb_helper_restore_fbdev_mode+0xb8/0xd8 [drm_kms_helper]) [ 3153.941162] [] (drm_fb_helper_restore_fbdev_mode [drm_kms_he= lper]) from [] (dev_lastclose+0xc4/0x118 [omapdrm]) [ 3153.961547] [] (dev_lastclose [omapdrm]) from [] (= drm_lastclose+0x38/0x140 [drm]) [ 3153.979766] [] (drm_lastclose [drm]) from [] (drm_= release+0x344/0x544 [drm]) [ 3153.991699] [] (drm_release [drm]) from [] (__fput= +0x9c/0x1ec) [ 3154.013763] [] (__fput) from [] (____fput+0x10/0x1= 4) [ 3154.030792] [] (____fput) from [] (task_work_run+0= xbc/0x100) [ 3154.042633] [] (task_work_run) from [] (do_exit+0x= 2f8/0x950) [ 3154.058715] [] (do_exit) from [] (do_group_exit+0x= 44/0xb8) [ 3154.066741] [] (do_group_exit) from [] (get_signal= _to_deliver+0x23c/0x67c) [ 3154.080718] [] (get_signal_to_deliver) from [] (do= _signal+0xb4/0x3d8) [ 3154.101531] [] (do_signal) from [] (do_work_pendin= g+0xa4/0xe4) [ 3154.120391] [] (do_work_pending) from [] (work_pen= ding+0xc/0x20) [ 3154.136962] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D [ 3154.136962]=20 [ 3154.142608] UNREF FB ID: 35: 3 [ 3154.143157] CPU: 1 PID: 1525 Comm: perf Tainted: G W 3.15.0= -rc1-00033-g16787b3dfc0f #45 [ 3154.155334] Backtrace:=20 [ 3154.156463] [] (dump_backtrace) from [] (show_stac= k+0x18/0x1c) [ 3154.170715] [] (show_stack) from [] (dump_stack+0x= 94/0xc8) [ 3154.179748] [] (dump_stack) from [] (drm_framebuff= er_unreference+0x28/0x70 [drm]) [ 3154.193572] [] (drm_framebuffer_unreference [drm]) from [] (drm_mode_set_config_internal+0xb8/0xf0 [drm]) [ 3154.209472] [] (drm_mode_set_config_internal [drm]) from [] (drm_fb_helper_restore_fbdev_mode+0xb8/0xd8 [drm_kms_helper]) [ 3154.229003] [] (drm_fb_helper_restore_fbdev_mode [drm_kms_he= lper]) from [] (dev_lastclose+0xc4/0x118 [omapdrm]) [ 3154.241882] [] (dev_lastclose [omapdrm]) from [] (= drm_lastclose+0x38/0x140 [drm]) [ 3154.266967] [] (drm_lastclose [drm]) from [] (drm_= release+0x344/0x544 [drm]) [ 3154.279907] [] (drm_release [drm]) from [] (__fput= +0x9c/0x1ec) [ 3154.301147] [] (__fput) from [] (____fput+0x10/0x1= 4) [ 3154.321929] [] (____fput) from [] (task_work_run+0= xbc/0x100) [ 3154.329864] [] (task_work_run) from [] (do_exit+0x= 2f8/0x950) [ 3154.345947] [] (do_exit) from [] (do_group_exit+0x= 44/0xb8) [ 3154.353973] [] (do_group_exit) from [] (get_signal= _to_deliver+0x23c/0x67c) [ 3154.370178] [] (get_signal_to_deliver) from [] (do= _signal+0xb4/0x3d8) [ 3154.391204] [] (do_signal) from [] (do_work_pendin= g+0xa4/0xe4) [ 3154.401855] [] (do_work_pending) from [] (work_pen= ding+0xc/0x20) [ 3154.420623] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D [ 3154.420623]=20 [ 3154.789916] sleep done [ 3154.789947] UNPIN WORKER UNREF [ 3154.795654] UNREF FB ID: 0: -1 [ 3154.798889] CPU: 0 PID: 1519 Comm: kworker/u4:0 Tainted: G W = 3.15.0-rc1-00033-g16787b3dfc0f #45 [ 3154.798889] Workqueue: omapdrm flip_worker [drm] [ 3154.814208] Backtrace:=20 [ 3154.816833] [] (dump_backtrace) from [] (show_stac= k+0x18/0x1c) [ 3154.830718] [] (show_stack) from [] (dump_stack+0x= 94/0xc8) [ 3154.830718] [] (dump_stack) from [] (drm_framebuff= er_unreference+0x28/0x70 [drm]) [ 3154.852355] [] (drm_framebuffer_unreference [drm]) from [] (unpin_worker+0x54/0x70 [omapdrm]) [ 3154.863800] [] (unpin_worker [omapdrm]) from [] (f= lip_worker+0x94/0xa0 [drm]) [ 3154.863800] [] (flip_worker [drm]) from [] (proces= s_one_work+0x1b8/0x510) [ 3154.897033] [] (process_one_work) from [] (worker_= thread+0x120/0x394) [ 3154.914855] [] (worker_thread) from [] (kthread+0x= d0/0xec) [ 3154.933563] [] (kthread) from [] (ret_from_fork+0x= 14/0x2c) [ 3154.949951] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D [ 3154.949951]=20 [ 3154.955718] UPDATE PIN REF [ 3154.958618] REF FB ID: 35: 4 [ 3154.961730] CPU: 0 PID: 1519 Comm: kworker/u4:0 Tainted: G W = 3.15.0-rc1-00033-g16787b3dfc0f #45 [ 3154.971984] Workqueue: omapdrm apply_worker [omapdrm] [ 3154.972015] Backtrace:=20 [ 3154.972015] [] (dump_backtrace) from [] (show_stac= k+0x18/0x1c) [ 3154.994049] [] (show_stack) from [] (dump_stack+0x= 94/0xc8) [ 3155.001770] [] (dump_stack) from [] (drm_framebuff= er_reference+0x54/0x98 [drm]) [ 3155.015472] [] (drm_framebuffer_reference [drm]) from [] (omap_plane_pre_apply+0x188/0x248 [omapdrm]) [ 3155.015472] [] (omap_plane_pre_apply [omapdrm]) from [] (apply_worker+0xb0/0x178 [omapdrm]) [ 3155.042053] [] (apply_worker [omapdrm]) from [] (p= rocess_one_work+0x1b8/0x510) [ 3155.070922] [] (process_one_work) from [] (worker_= thread+0x120/0x394) [ 3155.092864] [] (worker_thread) from [] (kthread+0x= d0/0xec) [ 3155.111511] [] (kthread) from [] (ret_from_fork+0x= 14/0x2c) [ 3155.121978] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D [ 3155.121978]=20 [ 3155.130920] omapdrm omapdrm.0: rotation '1' ignored for non-tiled fb --------------050707070600040605050600-- --jfuBSkJwbVbgqdTMqWDrJ7o94XT1T7ppu Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQIcBAEBAgAGBQJTS5/AAAoJEPo9qoy8lh71ojsP/RstWozCUFf81nPvGLfc0914 w29vM0p/pHaM/BqVml8/mRRJc++FnqM26+31BZ9Y+sxgA4Sd33gmtzZVrUuV70T5 thA6WVj4e/eCvXoiOywwARkxD/fZhiKEbYseokZUkuIDwFp+KzpFNw3+Lr4KLQXv 5w1gwhxlOtzpuovgBH95MzlRmRBS3AnzHwzXNGXehQlqNKcQs/vTUgMQ2mO6god5 n8ViMTcSYjk5TE7UaGFBRZbDmxgAE072Jxq1U4ZQMnrRms1HYUqMKWB4pwMMkjaY sS00j4lQfOO6D9odSTEvSXHO6OhTLFfZDuVDYrrMPIoodNYZ2iWZkebuo0PY1/Dm oE0ILiWPx5hD7Dcnhw3sjg/ua3Yn4LFtI3PZyOjDOGiAO1tqOf7ucOcGp6fyV2fU FTsNZsMyIG2Naa8R3xFVhh1hv9ROda2fGcPUQOOxViwYUqs+y5b+f7BLgD8iEKtM 4ErwljYkT4jwt61FU9V7kQdQiV44ZpfPYY5F78QrVNWNHKRgTOMGHsr7y2DrhtGk wlm79V4N2A3SyiLn9bs2fRPC0Db+RaEXlawvSzJjzmEDiid7dgqagomR7MssAQfN 2LN7NU7CC/kXVcZEPtbbLVXYGG/94Hs9I3fSbxXimJd9SZ9Miuq/WxJEjmqvdaWi rYxfMPaqIa3LUb0/UZpH =aHos -----END PGP SIGNATURE----- --jfuBSkJwbVbgqdTMqWDrJ7o94XT1T7ppu-- --===============1795561656== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1795561656==--