Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp991834rdf; Wed, 22 Nov 2023 02:38:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IFvqAkvXQACOFgyQtwJe83gKOFQ2kYOk7Q4iIpkfL4Z92UkL3CAIGEEGCDtMWzss/6njV39 X-Received: by 2002:a05:6830:4b1:b0:6b9:9cc0:537f with SMTP id l17-20020a05683004b100b006b99cc0537fmr2224883otd.33.1700649538704; Wed, 22 Nov 2023 02:38:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700649538; cv=none; d=google.com; s=arc-20160816; b=V5v5Q4OtdpYcPtmfxcZUQM2XNqlPIBgrE60xJt33YsZ04XzeiHR96m7sgVhbHsn88k tQjSf02GKXBP7olv1YdSt7uZmaSrUXADOq2ExF83uwvnMLE/IkhDZDcsw/OJDrbBeiu5 /dMVsIMSfPcghIWzNQEAswU+KthSIYszmhnhNTsOu7gGO1pPZ4zRnMlnokOCuiujPfHj 822ennfmyDgQ3TTRSiwcZGMpq/BVyW85xvaVpWoyw4GpamCdKF9o4B/jkbiYsazdGH0U I/iMa6EBhGhYQk1E6iz98kK4YVo9UrY7bHjyAxgF785KcALb9zQYgtKNvUPOiDkC9d1u BeXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:organization:in-reply-to:subject:cc:to :from:dkim-signature; bh=xxbmbLIMpYggtdyMah0Df2YEqpWMmNWG4ZoFv7gS510=; fh=27C2mxD8WUCsdDPhEOW0D9ix41944XlD3HT+NTH4aUA=; b=L+HpS/qx5URdfVqZBjXMCrItgNX6+t+VZZqw3mfMyBubStxsj3Ug/0fM7HwyjeiWvO sLaTVUaLON0/z3pI4pamo+CwG77I+QSb7T4p11wctwhXwjxVa4msWzZZJeHccdPs3wRu 3S/2yXNtZaLneoYUxyomKEpS1u2XMm8uUg2tZAprHovNp8d1qZLJ8osKBeCdtTIVtxfp 2pEJNDZOQ4hWKIR+QtsHocvf95d8hdN1V59V3Z1UQZ7suWodZe7GbDZP0GX1ayG+1v1R LjojR9T+7tl9p1XmiOosbo12trd5hVFTXvmcueweTYi4/yG4K10bFQ87mWH9M8dT+17x ak6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=cvHmRm8q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id u17-20020a632351000000b00588fdd9504bsi11840265pgm.858.2023.11.22.02.38.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 02:38:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=cvHmRm8q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 0C29D811AD8E; Wed, 22 Nov 2023 02:38:55 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234563AbjKVKip (ORCPT + 99 others); Wed, 22 Nov 2023 05:38:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230225AbjKVKio (ORCPT ); Wed, 22 Nov 2023 05:38:44 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47B12D8 for ; Wed, 22 Nov 2023 02:38:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700649520; x=1732185520; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version:content-transfer-encoding; bh=QO6KT53uGxDzbodKNjgEms8sifAV1LGc8IN38AUbNUw=; b=cvHmRm8q1VLyTsvh9l2sWNw2317dXnQ1PRhPw64aY03cJh0YPdiH384k UXZkt1+EIgYoyi7jPaK304+TL/m0Lo+fYPnyYI6PqpyCakuEyEyCSSR5K YYgpjs538XCA+76Ke5w9IP80T4J65LeukfuX8RXzwlXK1fBGjrI3zMyeh 6bk2UbKg3Q511grJagU4V7P0eHsQk69IlmoDH4aB82q+HUF7Avu+nXfEl rmwvFT3kt4wsQlQH9F8SHw/f6sbyHCGsBBtbbGA+dniLD5XK0Z+3qebT7 2+qwx5rpguY8K5TZwDA2uxahemCXvMsEB9y/oHbkU9v84+c48a6IWZI3s w==; X-IronPort-AV: E=McAfee;i="6600,9927,10901"; a="382424992" X-IronPort-AV: E=Sophos;i="6.04,218,1695711600"; d="scan'208";a="382424992" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Nov 2023 02:38:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10901"; a="884563056" X-IronPort-AV: E=Sophos;i="6.04,218,1695711600"; d="scan'208";a="884563056" Received: from tjquresh-mobl.ger.corp.intel.com (HELO localhost) ([10.252.41.76]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Nov 2023 02:38:36 -0800 From: Jani Nikula To: Paul Menzel , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann Cc: LKML , dri-devel@lists.freedesktop.org Subject: Re: Powered off Philips TV sends corrupt EDID causing flickering In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: Date: Wed, 22 Nov 2023 12:38:34 +0200 Message-ID: <87leaqm5sl.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 22 Nov 2023 02:38:56 -0800 (PST) On Tue, 21 Nov 2023, Paul Menzel wrote: > Dear Linux folks, > > > Connecting a USB Type-C port replicator [1] to the only USB Type-C port=20 > of the Dell XPS 13 9360 with Debian sid/unstable and Debian=E2=80=99s Lin= ux=20 > kernel 6.10.5, and then connecting a Philips 40PFL5206H/12 TV device,=20 > that is powered off or in standby, to the HDMI port, Linux logs: > > ``` > [ 0.000000] Linux version 6.5.0-4-amd64=20 > (debian-kernel@lists.debian.org) (gcc-13 (Debian 13.2.0-6) 13.2.0, GNU=20 > ld (GNU Binutils for Debian) 2.41) #1 SMP PREEMPT_DYNAMIC Debian=20 > 6.5.10-1 (2023-11-03) > [=E2=80=A6] > [ 0.000000] DMI: Dell Inc. XPS 13 9360/0596KF, BIOS 2.21.0 06/02/2022 > [=E2=80=A6] > [ 160.004836] EDID has corrupt header > [ 160.004866] [00] BAD 00 00 00 00 00 00 00 00 00 7f ff ff ff ff ff ff > [ 160.004875] [00] BAD ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > [ 160.004881] [00] BAD ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > [ 160.004886] [00] BAD ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > [ 160.004905] [00] BAD ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > [ 160.004911] [00] BAD ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > [ 160.004917] [00] BAD ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > [ 160.004921] [00] BAD ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > [ 160.013662] Registered IR keymap rc-cec > [ 160.014001] rc rc0: DP-1 as /devices/pci0000:00/0000:00:02.0/rc/rc0 > [ 160.014305] input: DP-1 as=20 > /devices/pci0000:00/0000:00:02.0/rc/rc0/input33 > [ 160.228342] EDID has corrupt header > [ 160.408917] EDID has corrupt header > ``` > > The internal display of the laptop also switches off shortly, but comes=20 > back after two or three seconds. This is very likely due to me=20 > configuring the internal display to turn off once an external display is= =20 > used. > > No idea, why the TV is able to transmit anything at all, when it is=20 > turned/powered off. To avoid the flickering, would it be possible to=20 > ignore events from displays sending such incorrect EDID? Depending on how the port replicator works, this may not come from the TV at all. And all of this probably depends on GPU and driver, which are not mentioned. If it's i915, please see [1] on how to file a bug. Thanks, Jani. [1] https://drm.pages.freedesktop.org/intel-docs/how-to-file-i915-bugs.html > > > Kind regards, > > Paul --=20 Jani Nikula, Intel