The errors (or warnings) are generated by ASSERT like the following
statement.

if (!i2c_success)
   /* Write failure */
   ASSERT(i2c_success);

Details @
https://elixir.bootlin.com/linux/v5.4.31/source/drivers/gpu/drm/amd/display/dc/core/dc_link.c#L1737

I am not an amdgpu expert but I don't think they are harmful but are
indication that one feature in amdgpu does not work.

If this really bugs you, I can backport a fix that silences the ASSERTs
but outputs "simple log message" in uptream kernel. See following for
details.

commit a0e40018dcc3f59a10ca21d58f8ea8ceb1b035ac
Author: Rodrigo Siqueira <rodrigo.sique...@amd.com>
Date:   Mon Feb 24 10:13:37 2020 -0500

    drm/amd/display: Stop if retimer is not available
    
    Raven provides retimer feature support that requires i2c interaction in
    order to make it work well, all settings required for this configuration
    are loaded from the Atom bios which include the i2c address. If the
    retimer feature is not available, we should abort the attempt to set
    this feature, otherwise, it makes the following line return
    I2C_CHANNEL_OPERATION_NO_RESPONSE:

    ... // skipped

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1871248

Title:
  amdgpu kernel errors in Linux 5.4

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Linux atlas 5.4.0-21-generic #25-Ubuntu SMP Sat Mar 28 13:10:28 UTC 2020 
x86_64 x86_64 x86_64 GNU/Linux
  Ubuntu 20.04 beta fresh installation. Upgrades applied.
  AMD Ryzen 3 3200G with Radeon Vega Graphics
  Motherboard: Gigabyte B450 I AORUS PRO WIFI/B450 I AORUS PRO WIFI-CF, BIOS 
F50 11/27/2019

  These errors keep appearing in the kernel messages. 
  [    3.258890] ------------[ cut here ]------------
  [    3.258944] WARNING: CPU: 1 PID: 621 at 
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1737 
write_i2c_retimer_setting+0xc8/0x3e0 [amdgpu]
  [    3.258945] Modules linked in: amd64_edac_mod(-) cmac algif_hash 
algif_skcipher af_alg bnep edac_mce_amd ccp kvm snd_hda_codec_realtek 
snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel 
snd_intel_nhlt snd_hda_codec snd_hda_core snd_hwdep snd_pcm crct10dif_pclmul 
ghash_clmulni_intel snd_seq_midi nls_iso8859_1 snd_seq_midi_event snd_rawmidi 
snd_seq aesni_intel iwlmvm crypto_simd mac80211 amdgpu cryptd libarc4 
glue_helper snd_seq_device amd_iommu_v2 btusb iwlwifi gpu_sched btrtl wmi_bmof 
ttm btbcm k10temp snd_timer btintel input_leds drm_kms_helper bluetooth snd 
fb_sys_fops syscopyarea cfg80211 sysfillrect soundcore sysimgblt ecdh_generic 
ecc mac_hid sch_fq_codel parport_pc ppdev lp drm parport ip_tables x_tables 
autofs4 hid_generic usbhid hid nvme crc32_pclmul i2c_piix4 ahci igb nvme_core 
i2c_algo_bit dca libahci wmi video gpio_amdpt gpio_generic
  [    3.258966] CPU: 1 PID: 621 Comm: gpu-manager Not tainted 5.4.0-21-generic 
#25-Ubuntu
  [    3.258967] Hardware name: Gigabyte Technology Co., Ltd. B450 I AORUS PRO 
WIFI/B450 I AORUS PRO WIFI-CF, BIOS F50 11/27/2019
  [    3.259012] RIP: 0010:write_i2c_retimer_setting+0xc8/0x3e0 [amdgpu]

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: linux-image-5.4.0-21-generic 5.4.0-21.25
  ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
  Uname: Linux 5.4.0-21-generic x86_64
  ApportVersion: 2.20.11-0ubuntu24
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  kirt       1293 F.... pulseaudio
   /dev/snd/controlC0:  kirt       1293 F.... pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Apr  6 15:52:30 2020
  InstallationDate: Installed on 2020-04-06 (0 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200402)
  MachineType: Gigabyte Technology Co., Ltd. B450 I AORUS PRO WIFI
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 amdgpudrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-21-generic 
root=UUID=9940ba5b-7683-413e-92a2-854b3816799b ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-5.4.0-21-generic N/A
   linux-backports-modules-5.4.0-21-generic  N/A
   linux-firmware                            1.187
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/27/2019
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: F50
  dmi.board.asset.tag: Default string
  dmi.board.name: B450 I AORUS PRO WIFI-CF
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.asset.tag: Default string
  dmi.chassis.type: 3
  dmi.chassis.vendor: Default string
  dmi.chassis.version: Default string
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrF50:bd11/27/2019:svnGigabyteTechnologyCo.,Ltd.:pnB450IAORUSPROWIFI:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB450IAORUSPROWIFI-CF:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:
  dmi.product.family: Default string
  dmi.product.name: B450 I AORUS PRO WIFI
  dmi.product.sku: Default string
  dmi.product.version: Default string
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1871248/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to