Re: [i915] WARNING: CPU: 2 PID: 183 at drivers/gpu/drm/i915/intel_display.c:14584 intel_modeset_init+0x3be/0x1060
From: Maarten Lankhorst
Date: Thu Apr 19 2018 - 10:39:55 EST
Op 19-04-18 om 13:05 schreef Fengguang Wu:
> Hi Maarten,
>
>> What extra dmesg output do you get when you boot with drm.debug=0x1f ?
>
> Attached is the dmesg with drm.debug=0x1f.
>
> Thanks,
> Fengguang
Ah so we're inheriting the FB 2x, once with 1280x1024, other with 1366x768:
kern :debug : [ 74.880444] [drm:i9xx_get_initial_plane_config [i915]] pipe A/primary A with fb: size=1366x768@32, offset=61000, pitch 5504, size 0x408000
kern :debug : [ 74.881187] [drm:i915_gem_object_create_stolen_for_preallocated [i915]] creating preallocated stolen object: stolen_offset=0x0000000000061000, gtt_offset=0x0000000000061000, size=0x0000000000408000
kern :debug : [ 74.882197] [drm:intel_alloc_initial_plane_obj.isra.126 [i915]] initial plane fb obj 000000005efa24f9
kern :debug : [ 74.883532] [drm:i9xx_get_initial_plane_config [i915]] pipe B/primary B with fb: size=1280x1024@32, offset=61000, pitch 5504, size 0x560000
kern :debug : [ 74.884260] [drm:i915_gem_object_create_stolen_for_preallocated [i915]] creating preallocated stolen object: stolen_offset=0x0000000000061000, gtt_offset=0x0000000000061000, size=0x0000000000560000
kern :debug : [ 74.885295] [drm:i915_gem_object_create_stolen_for_preallocated [i915]] failed to allocate stolen space
Which of course fails, but should be an interesting case to handle right. :)
~Maarten