https://bugzilla.kernel.org/show_bug.cgi?id=199621 Bug ID: 199621 Summary: iMac 2009, Mobility Radeon HD 4670: black screen on boot Product: Drivers Version: 2.5 Kernel Version: 4.15.0-20 Hardware: All OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: Video(DRI - non Intel) Assignee: drivers_video-dri@xxxxxxxxxxxxxxxxxxxx Reporter: floe@xxxxxxxxxxxxxx Regression: No I'm running Ubuntu 18.04 on a old-ish iMac from 2009. As soon as the kernel modesetting kicks in, I only get a black screen. This is not a duplicate of https://bugzilla.kernel.org/show_bug.cgi?id=100301 - if I try to enable the screen via sysfs or xrandr, I get the following oops in dmesg: May 4 09:17:19 igor01 kernel: [ 1193.227376] ------------[ cut here ]------------ May 4 09:17:19 igor01 kernel: [ 1193.227377] unknown DP link BW code 0, using 162000 May 4 09:17:19 igor01 kernel: [ 1193.227401] WARNING: CPU: 1 PID: 915 at /build/linux-5s7Xkn/linux-4.15.0/drivers/gpu/drm/drm_dp_helper.c:157 drm_dp_bw_code_to_link_rate+0x41/0x50 [drm_kms_helper] May 4 09:17:19 igor01 kernel: [ 1193.227401] Modules linked in: rfcomm ccm bnep snd_hda_codec_cirrus snd_hda_codec_generic applesmc input_polldev arc4 coretemp kvm_intel kvm irqbypass uvcvideo videobuf2_vmalloc joydev input_leds btusb btrtl btbcm btintel videobuf2_memops videobuf2_v4l2 bluetooth ecdh_generic videobuf2_core videodev media ath9k ath9k_common ath9k_hw ath mac80211 cfg80211 snd_hda_codec_hdmi snd_hda_inte l snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi shpchp snd_seq snd_seq_device snd_timer snd soundcore apple_bl mac_hid sch_fq_codel parport_pc ppdev lp parport ip_table s x_tables autofs4 hid_appleir uas usb_storage hid_generic usbhid hid pata_acpi radeon i2c_algo_bit ttm firewire_ohci drm_kms_helper syscopyarea sysfillrect firewire_core sysimgblt crc_itu_t forcedeth fb_sys_fop s May 4 09:17:19 igor01 kernel: [ 1193.227454] ahci drm libahci i2c_nforce2 May 4 09:17:19 igor01 kernel: [ 1193.227459] CPU: 1 PID: 915 Comm: Xorg Tainted: G W 4.15.0-20-generic #21-Ubuntu May 4 09:17:19 igor01 kernel: [ 1193.227460] Hardware name: Apple Inc. iMac10,1/Mac-F2268DC8, BIOS IM101.88Z.00CC.B00.0909031926 09/03/09 May 4 09:17:19 igor01 kernel: [ 1193.227467] RIP: 0010:drm_dp_bw_code_to_link_rate+0x41/0x50 [drm_kms_helper] May 4 09:17:19 igor01 kernel: [ 1193.227469] RSP: 0018:ffff9e06415e7ad8 EFLAGS: 00010282 May 4 09:17:19 igor01 kernel: [ 1193.227471] RAX: 0000000000000000 RBX: ffff8f00362f1000 RCX: 0000000000000006 May 4 09:17:19 igor01 kernel: [ 1193.227472] RDX: 0000000000000007 RSI: 0000000000000096 RDI: ffff8f003fd16490 May 4 09:17:19 igor01 kernel: [ 1193.227474] RBP: ffff9e06415e7ae0 R08: 0000000000000001 R09: 0000000000000fe6 May 4 09:17:19 igor01 kernel: [ 1193.227475] R10: 0000000000000040 R11: 0000000000000000 R12: 000000000000fde8 May 4 09:17:19 igor01 kernel: [ 1193.227477] R13: ffff8f00362f1000 R14: 0000000000000018 R15: ffff8f002b0bddc4 May 4 09:17:19 igor01 kernel: [ 1193.227479] FS: 00007f9d8d3c9600(0000) GS:ffff8f003fd00000(0000) knlGS:0000000000000000 May 4 09:17:19 igor01 kernel: [ 1193.227481] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 May 4 09:17:19 igor01 kernel: [ 1193.227482] CR2: 00007f9d8d3e2000 CR3: 0000000233cac000 CR4: 00000000000406e0 May 4 09:17:19 igor01 kernel: [ 1193.227483] Call Trace: May 4 09:17:19 igor01 kernel: [ 1193.227513] radeon_dp_get_dp_link_config+0x45/0x150 [radeon] May 4 09:17:19 igor01 kernel: [ 1193.227542] radeon_dp_mode_valid_helper+0x4e/0xb0 [radeon] May 4 09:17:19 igor01 kernel: [ 1193.227558] ? drm_mode_connector_list_update+0x113/0x180 [drm] May 4 09:17:19 igor01 kernel: [ 1193.227581] radeon_dp_mode_valid+0xcd/0xd0 [radeon] May 4 09:17:19 igor01 kernel: [ 1193.227589] drm_helper_probe_single_connector_modes+0x418/0x710 [drm_kms_helper] May 4 09:17:19 igor01 kernel: [ 1193.227607] drm_mode_getconnector+0x15d/0x340 [drm] May 4 09:17:19 igor01 kernel: [ 1193.227610] ? import_iovec+0x3a/0xe0 May 4 09:17:19 igor01 kernel: [ 1193.227627] ? drm_mode_connector_property_set_ioctl+0x60/0x60 [drm] May 4 09:17:19 igor01 kernel: [ 1193.227641] drm_ioctl_kernel+0x5f/0xb0 [drm] May 4 09:17:19 igor01 kernel: [ 1193.227655] drm_ioctl+0x31b/0x3d0 [drm] May 4 09:17:19 igor01 kernel: [ 1193.227672] ? drm_mode_connector_property_set_ioctl+0x60/0x60 [drm] May 4 09:17:19 igor01 kernel: [ 1193.227691] radeon_drm_ioctl+0x4f/0x90 [radeon] May 4 09:17:19 igor01 kernel: [ 1193.227694] do_vfs_ioctl+0xa8/0x630 May 4 09:17:19 igor01 kernel: [ 1193.227696] ? __sys_recvmsg+0x80/0x90 May 4 09:17:19 igor01 kernel: [ 1193.227699] SyS_ioctl+0x79/0x90 May 4 09:17:19 igor01 kernel: [ 1193.227701] ? SyS_clock_gettime+0x88/0xb0 May 4 09:17:19 igor01 kernel: [ 1193.227704] do_syscall_64+0x73/0x130 May 4 09:17:19 igor01 kernel: [ 1193.227706] entry_SYSCALL_64_after_hwframe+0x3d/0xa2 May 4 09:17:19 igor01 kernel: [ 1193.227708] RIP: 0033:0x7f9d8a7c25d7 May 4 09:17:19 igor01 kernel: [ 1193.227709] RSP: 002b:00007fff59e6d978 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 May 4 09:17:19 igor01 kernel: [ 1193.227712] RAX: ffffffffffffffda RBX: 0000559d87d158d0 RCX: 00007f9d8a7c25d7 May 4 09:17:19 igor01 kernel: [ 1193.227713] RDX: 00007fff59e6d9b0 RSI: 00000000c05064a7 RDI: 000000000000000c May 4 09:17:19 igor01 kernel: [ 1193.227715] RBP: 00007fff59e6d9b0 R08: 0000000000000001 R09: 0000000000000000 May 4 09:17:19 igor01 kernel: [ 1193.227716] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000c05064a7 May 4 09:17:19 igor01 kernel: [ 1193.227718] R13: 000000000000000c R14: 000000000000000c R15: 00007fff59e6d9b0 May 4 09:17:19 igor01 kernel: [ 1193.227719] Code: 3d 08 00 74 2d 40 80 ff 06 b8 d0 78 02 00 74 22 55 40 0f b6 f7 48 c7 c7 b8 0b 12 c0 48 89 e5 48 83 ec 08 89 45 fc e8 8f f0 77 c9 <0f> 0b 8b 45 fc c9 c3 f3 c3 66 0f 1f 44 00 00 66 66 66 66 90 55 May 4 09:17:19 igor01 kernel: [ 1193.227764] ---[ end trace d2b3e21bce6f63f8 ]--- Best, Florian -- You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel