Re: [i915]] *ERROR* mismatch in scaler_state.scaler_id

From: Daniel Vetter
Date: Wed May 06 2015 - 07:07:15 EST


Adding Chandra, who's implemented skl scaler code.
-Daniel

On Sat, May 02, 2015 at 10:05:42AM +0900, Sergey Senozhatsky wrote:
> Hi,
>
> linux-next 20150501
>
> [ 1.968953] [drm:check_crtc_state [i915]] *ERROR* mismatch in scaler_state.scaler_id (expected 0, found -1)
> [ 1.968953] ------------[ cut here ]------------
> [ 1.968983] WARNING: CPU: 0 PID: 6 at drivers/gpu/drm/i915/intel_display.c:12008 check_crtc_state+0xb15/0xb83 [i915]()
> [ 1.968983] pipe state doesn't match!
> [..]
> [ 1.969005] CPU: 0 PID: 6 Comm: kworker/u16:0 Not tainted 4.1.0-rc1-next-20150501-dbg-00011-gbcb7bed-dirty #49
> [ 1.969010] Workqueue: events_unbound async_run_entry_fn
> [ 1.969012] 0000000000000009 ffff88041d9eb448 ffffffff812e9753 0000000000005555
> [ 1.969013] ffff88041d9eb498 ffff88041d9eb488 ffffffff81034c24 ffff88041d9eb490
> [ 1.969015] ffffffffa03a81dc ffff88041d123000 ffff88041cbbc800 0000000000000001
> [ 1.969015] Call Trace:
> [ 1.969019] [<ffffffff812e9753>] dump_stack+0x45/0x57
> [ 1.969022] [<ffffffff81034c24>] warn_slowpath_common+0x97/0xb1
> [ 1.969050] [<ffffffffa03a81dc>] ? check_crtc_state+0xb15/0xb83 [i915]
> [ 1.969052] [<ffffffff81034c7f>] warn_slowpath_fmt+0x41/0x43
> [ 1.969080] [<ffffffffa03a81dc>] check_crtc_state+0xb15/0xb83 [i915]
> [ 1.969082] [<ffffffff81054941>] ? update_curr+0x68/0xd1
> [ 1.969112] [<ffffffffa03b6ab6>] intel_modeset_check_state+0x603/0xa3d [i915]
> [ 1.969140] [<ffffffffa03b7db5>] intel_crtc_set_config+0x8dc/0xc02 [i915]
> [ 1.969147] [<ffffffffa0310d51>] ? drm_atomic_helper_plane_set_property+0x6c/0xa4 [drm_kms_helper]
> [ 1.969159] [<ffffffffa02688d2>] drm_mode_set_config_internal+0x57/0xe3 [drm]
> [ 1.969164] [<ffffffffa03122fa>] restore_fbdev_mode+0xb5/0xcf [drm_kms_helper]
> [ 1.969169] [<ffffffffa0313bb3>] drm_fb_helper_restore_fbdev_mode_unlocked+0x22/0x59 [drm_kms_helper]
> [ 1.969173] [<ffffffffa0313c1b>] drm_fb_helper_set_par+0x31/0x35 [drm_kms_helper]
> [ 1.969202] [<ffffffffa03c4151>] intel_fbdev_set_par+0x15/0x58 [i915]
> [ 1.969204] [<ffffffff811a3577>] fbcon_init+0x323/0x431
> [ 1.969206] [<ffffffff811ef80a>] visual_init+0xb7/0x10d
> [ 1.969208] [<ffffffff811f0e26>] do_bind_con_driver+0x1b1/0x2d8
> [ 1.969209] [<ffffffff811f124f>] do_take_over_console+0x15a/0x184
> [ 1.969212] [<ffffffff811a15e7>] do_fbcon_takeover+0x5b/0x97
> [ 1.969213] [<ffffffff811a4dc5>] fbcon_event_notify+0x419/0x740
> [ 1.969215] [<ffffffff810492cc>] notifier_call_chain+0x3b/0x5f
> [ 1.969217] [<ffffffff8104950a>] __blocking_notifier_call_chain+0x43/0x5f
> [ 1.969219] [<ffffffff81049535>] blocking_notifier_call_chain+0xf/0x11
> [ 1.969220] [<ffffffff811a68f8>] fb_notifier_call_chain+0x16/0x18
> [ 1.969222] [<ffffffff811a8134>] register_framebuffer+0x28f/0x2c7
> [ 1.969250] [<ffffffffa03c45a3>] ? intelfb_create+0x2e7/0x38a [i915]
> [ 1.969256] [<ffffffffa0313eb6>] drm_fb_helper_initial_config+0x297/0x3e1 [drm_kms_helper]
> [ 1.969284] [<ffffffffa03c4a9a>] intel_fbdev_initial_config+0x16/0x18 [i915]
> [ 1.969286] [<ffffffff8104a177>] async_run_entry_fn+0x33/0xca
> [ 1.969288] [<ffffffff8104408c>] process_one_work+0x192/0x2a8
> [ 1.969290] [<ffffffff81044be8>] worker_thread+0x266/0x34c
> [ 1.969291] [<ffffffff81044982>] ? rescuer_thread+0x276/0x276
> [ 1.969293] [<ffffffff81048908>] kthread+0xcd/0xd5
> [ 1.969294] [<ffffffff8104883b>] ? kthread_worker_fn+0x130/0x130
> [ 1.969296] [<ffffffff812ed5c2>] ret_from_fork+0x42/0x70
> [ 1.969297] [<ffffffff8104883b>] ? kthread_worker_fn+0x130/0x130
> [ 1.969298] ---[ end trace 7f37d8e5ab4ee0a8 ]---
>
> -ss
> _______________________________________________
> dri-devel mailing list
> dri-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/dri-devel

--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/