[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <709adaad09aeebca8b9c152075056ec5aad69a1f.camel@gmx.de>
Date: Fri, 01 Aug 2025 19:55:15 +0200
From: Mike Galbraith <efault@....de>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Ville Syrjälä <ville.syrjala@...ux.intel.com>,
Lyude Paul <lyude@...hat.com>, Danilo Krummrich <dakr@...nel.org>, nouveau
<nouveau@...ts.freedesktop.org>
Subject: nouveau: fbdev: Failed to setup emulation (ret=-22) - bisected to
41ab92d35ccd
Greetings,
Reverting the fingered commit below brought my GTX980 back to life.
41ab92d35ccd2d66bfb049bd34cd95f0304b0240 is the first bad commit
commit 41ab92d35ccd2d66bfb049bd34cd95f0304b0240
Author: Ville Syrjälä <ville.syrjala@...ux.intel.com>
Date: Tue Jul 1 12:07:22 2025 +0300
drm: Make passing of format info to drm_helper_mode_fill_fb_struct() mandatory
Now that everyone passes along the format info to
drm_helper_mode_fill_fb_struct() we can make this behaviour
mandatory and drop the extra lookup.
Reviewed-by: Thomas Zimmermann <tzimmermann@...e.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@...asonboard.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@...ux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250701090722.13645-20-ville.syrjala@linux.intel.com
drivers/gpu/drm/drm_modeset_helper.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
dmesg output sans revert:
[ 3.220788] nouveau 0000:01:00.0: NVIDIA GM204 (124000a1)
[ 3.302724] nouveau 0000:01:00.0: bios: version 84.04.1f.00.02
[ 3.304609] nouveau 0000:01:00.0: pmu: firmware unavailable
[ 3.308652] nouveau 0000:01:00.0: vgaarb: deactivate vga console
[ 3.308905] nouveau 0000:01:00.0: fb: 4096 MiB GDDR5
[ 3.308920] nouveau 0000:01:00.0: bus: MMIO write of 80000195 FAULT at 10eb14 [ PRIVRING ]
[ 3.375764] nouveau 0000:01:00.0: drm: VRAM: 4096 MiB
[ 3.375768] nouveau 0000:01:00.0: drm: GART: 1048576 MiB
[ 3.375771] nouveau 0000:01:00.0: drm: TMDS table version 2.0
[ 3.376933] nouveau 0000:01:00.0: drm: MM: using COPY for buffer copies
[ 3.425989] [drm] Initialized nouveau 1.4.0 for 0000:01:00.0 on minor 0
[ 3.459953] Modules linked in: hid_generic(+) usbhid nouveau(+) drm_ttm_helper ttm drm_client_lib gpu_sched i2c_algo_bit drm_gpuvm drm_exec drm_display_helper drm_kms_helper xhci_pci drm ehci_pci xhci_hcd ehci_hcd ahci libahci libata ghash_clmulni_intel usbcore video wmi button usb_common sd_mod scsi_dh_emc scsi_dh_rdac scsi_dh_alua sg scsi_mod scsi_common vfat fat ext4 crc16 mbcache jbd2 loop msr efivarfs autofs4 aesni_intel gf128mul
[ 3.460023] nouveau_framebuffer_new+0x27f/0x470 [nouveau]
[ 3.460116] nouveau_user_framebuffer_create+0x42/0x90 [nouveau]
[ 3.460289] nouveau_drm_probe+0x128/0x1a0 [nouveau]
[ 3.460402] nouveau_drm_init+0x8b/0x1000 [nouveau]
[ 3.460516] nouveau 0000:01:00.0: [drm] *ERROR* fbdev: Failed to setup emulation (ret=-22)
[ 3.494950] nouveau 0000:01:00.0: [drm] *ERROR* fbdev: Failed to setup emulation (ret=-22)
[ 19.217424] nouveau 0000:01:00.0: [drm] *ERROR* crtc 66: Can't calculate constants, dotclock = 0!
[ 19.217438] nouveau 0000:01:00.0: [drm] drm_WARN_ON_ONCE(drm_drv_uses_atomic_modeset(dev))
[ 19.217504] Modules linked in: af_packet nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables bridge stp llc iscsi_ibft iscsi_boot_sysfs rfkill nfnetlink binfmt_misc usblp joydev nls_iso8859_1 nls_cp437 intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_generic snd_hda_codec_hdmi kvm_intel snd_hda_intel r8169 iTCO_wdt snd_intel_dspcfg snd_hda_codec uas at24 realtek intel_pmc_bxt snd_hwdep kvm usb_storage regmap_i2c snd_hda_core mei_hdcp iTCO_vendor_support mdio_devres snd_pcm libphy irqbypass i2c_i801 snd_timer pcspkr i2c_smbus mei_me snd mdio_bus mei lpc_ich soundcore mfd_core thermal fan intel_smartconnect nfsd auth_rpcgss nfs_acl lockd grace sch_fq_codel sunrpc fuse configfs dmi_sysfs hid_generic usbhid nouveau drm_ttm_helper ttm drm_client_lib gpu_sched i2c_algo_bit drm_gpuvm drm_exec drm_display_helper drm_kms_helper xhci_pci drm ehci_pci
[ 19.217694] nv50_disp_atomic_commit_tail+0x2a1/0x740 [nouveau]
[ 19.217761] nv50_disp_atomic_commit.part.0+0x1a2/0x1d0 [nouveau]
[ 19.217960] nouveau_drm_ioctl+0x56/0xb0 [nouveau]
[ 19.218082] nouveau 0000:01:00.0: [drm] *ERROR* crtc 66: Can't calculate constants, dotclock = 0!
<repeats elided>
dmesg output with revert:
[ 3.223553] nouveau 0000:01:00.0: NVIDIA GM204 (124000a1)
[ 3.304520] nouveau 0000:01:00.0: bios: version 84.04.1f.00.02
[ 3.306489] nouveau 0000:01:00.0: pmu: firmware unavailable
[ 3.310543] nouveau 0000:01:00.0: vgaarb: deactivate vga console
[ 3.310789] nouveau 0000:01:00.0: fb: 4096 MiB GDDR5
[ 3.310815] nouveau 0000:01:00.0: bus: MMIO write of 800001a8 FAULT at 10eb14 [ PRIVRING ]
[ 3.377610] nouveau 0000:01:00.0: drm: VRAM: 4096 MiB
[ 3.377614] nouveau 0000:01:00.0: drm: GART: 1048576 MiB
[ 3.377616] nouveau 0000:01:00.0: drm: TMDS table version 2.0
[ 3.378810] nouveau 0000:01:00.0: drm: MM: using COPY for buffer copies
[ 3.419667] [drm] Initialized nouveau 1.4.0 for 0000:01:00.0 on minor 0
[ 3.454261] fbcon: nouveaudrmfb (fb0) is primary device
[ 3.498407] nouveau 0000:01:00.0: [drm] fb0: nouveaudrmfb frame buffer device
Powered by blists - more mailing lists