Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp203683ybp; Thu, 10 Oct 2019 16:35:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqzoxmMY2LFuaw+byhTO9m247dLPUi3TMQYKnDmou23FHZDXevaLkbmSg/TLGzQ2UaPlN4a8 X-Received: by 2002:a17:906:e2ce:: with SMTP id gr14mr10558666ejb.229.1570750531480; Thu, 10 Oct 2019 16:35:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570750531; cv=none; d=google.com; s=arc-20160816; b=GyH0PJH55DvCHK6iQceIKhhrNkfkmpTwsERJgsIKudk3ydxG98ONTObXmAMFXHvy+L 4OneEvdKWkTYqKKA6VKimgmAYMTw1ein1ojSlJqlaL+Ihsdj2WssRFawGitFIQIQmbiq GoCc0Y7ZMu4gOnuzhFOBvtD6yxAqQE3X4zNj8+ZHQBTa5XCg5oYyyPqSov6HOX1ssPdi 2qDVSP5mXNCxpAI0afJmEsSuu/DhIE5ueitCnWd7SJTaKsY+I7IZNzqC2F3QpZgk53MH ZAXRbfb13EmeFkmphQ9W3WpEQ5xMBOlHL3ZcsKJt8lswugrAYJGfYEKZ3qWKfRbiBiYE XBMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :mime-version:dkim-signature; bh=OzTCu5I04s+EnaAbwN6eYgKI0KQPTUphwOlhf37qoKM=; b=P3i/Cs+te1hKaMA94vOWwE72Arl7xzP1wp2M2+//4d2h9NEl3nqryJoHJDnUmUBsTE UwEjyy3NZy4EsKTC1OoF64woxSJUHJK1Ym60U8wKzduboRB+Mss0XofdSN6Nniirq+kS hHZ1EIc94fKzqdgmce03LArjIvtTMNPRPAkd9dWGw2C5trnmqMo9rIoU4D0o49aAtzUL AJMmJMfYrGS7avu8JZWpwhFGR67iPiJhkwxajIvdDevY/KzFR/s+9/w2dZVIGJdzIvuW mQVsowK2qcyRiFosuL+ywR08/F0y/egyYL+T4oM4ljejLYpogearsWBhNrO+zPO5l1hN OPuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=izvtbYCZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id um16si3990528ejb.12.2019.10.10.16.35.04; Thu, 10 Oct 2019 16:35:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=izvtbYCZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726928AbfJJXel (ORCPT + 99 others); Thu, 10 Oct 2019 19:34:41 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:45834 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725845AbfJJXel (ORCPT ); Thu, 10 Oct 2019 19:34:41 -0400 Received: by mail-lf1-f68.google.com with SMTP id r134so5648695lff.12 for ; Thu, 10 Oct 2019 16:34:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=OzTCu5I04s+EnaAbwN6eYgKI0KQPTUphwOlhf37qoKM=; b=izvtbYCZRJQnH6TCdDLZC0uFGCK4uHtEx+/NINpDi8P3ng/wp/4lWDOs1Ho2AcBdel p44UhCtPD/wH3Ki3TQO2pdYGeWEvn9ZaAwZRqJavX9Lma5Ui52o+XaWM9V8LMugdQu3e uYGmbCd3fmn9g4FT7i9cWMQKZ6H9Gq4N6uYmpJoTg/pf40KsMGPFVThGECBAQrrokBKN UyMS54tT1I3yHtxknsQ5BAfgn3N61ZZWp+/HyY3tgubshEQ4/7keFfPTnNZh11e+BnMB uihu0MMw4yZRFuBcmQXMrRsTesF7+P1t0dzGpnhsTxkjyCS2Xi65uniSlNJ4WdvwTnzW yPmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=OzTCu5I04s+EnaAbwN6eYgKI0KQPTUphwOlhf37qoKM=; b=PO+Cxv3vymGVrn7zCfxRyUXVeGruAjWFNdd1o8APswlY7Uda/S18k3USqMTpnKXfaS pK+gHnxDyITq0LhQnsZlF9hv8FRZKG7dvKXzpIFKYq61e8V9FlugIXITyMj074k2D8Y2 8hGhtPGeCt9RaZV65RPFsbRI0hqXiRo2sBBRoh+HSq7W366BFgJLdyR5MiQIlr9xMBdp 83vd2X8nkML2PBBhrN5GgAyEW5wX3cw50w3/eLADT6oE85gm5DrWR0nH2brJrRJ5N3fm 7a6jnaDbuGkQpaiASqDkqH/bt2pyUpmgeTxqoT/T08nCgdlVFczKjdpxkid54chiqq6F 1oMA== X-Gm-Message-State: APjAAAX1ovGqdi9KJJ7EQAUAtCslk/6eob0+iEqKN23h5SI4scp6Iki1 J4eBg1NtCnJArn+kHz1N3aJt/xPz42KtY8a1WOqUaIHiZg== X-Received: by 2002:ac2:424c:: with SMTP id m12mr7351197lfl.140.1570750478898; Thu, 10 Oct 2019 16:34:38 -0700 (PDT) MIME-Version: 1.0 From: Gabriel C Date: Fri, 11 Oct 2019 01:34:08 +0200 Message-ID: Subject: [amdgpu] ASSERT()'s in write_i2c*retimer_setting() functions To: LKML , amd-gfx@lists.freedesktop.org, Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= Cc: Zeyu Fan , dri-devel@lists.freedesktop.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, I've built recently a new box with a Ryzen3 2200G APU. Each time I plug in an HDMI cable ( to a TV or Monitor ), or boot with HDMI connected a lot ASSERT()'s from write_i2c*retimer_setting() functions are triggered. I see the same on a Laptop with a Ryzen7 3750H with hybrid GPU configuration. Besides the noise in dmesg and the delay on boot, everything is working fine. I cannot find anything wrong or broken. Since the write errors seem to not be fatal, I think a friendly message would help more instead of flooding the dmesg with dumps while everything is working properly. Why is ASSERT() used there? I have a dmesg from the Ryzen3 box with drm.debug and a snipped from the Laptop ( not near me right now ) uploaded there: https://crazy.dev.frugalware.org/amdgpu/ Please let me know if you need more information, If needed I can upload a dmesg from the Laptop with drm.debug too. Best Regards, Gabriel C