Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5309208ybl; Tue, 4 Feb 2020 11:29:48 -0800 (PST) X-Google-Smtp-Source: APXvYqx/RXxnMJUSty6qtVVmiqh0z6QPsC8uyT3V615shlDQmW9uhaSHvp9TgFL/xuyLzf43FNSE X-Received: by 2002:a05:6830:10d7:: with SMTP id z23mr22953040oto.114.1580844588498; Tue, 04 Feb 2020 11:29:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580844588; cv=none; d=google.com; s=arc-20160816; b=dMR0gPsRRSnmidtviNJgAxL33EL2BDYMPWRfiTNRT7mq+tnNgFPZH58kqrV1weHv5Z 933h0HyLS3Ee9FAEGfVlNzAHLG1skn/Z8pQweTCq/VophYVmNl0mXCy3xuKIMiJoJWZW U+Oi1yizVcogkTxM5h42lf5RCMeZiHUSiK1mobnOujw6gar5EViGBGLq5ULkK2lDHqi9 HHOdAgFul+OpLhhNX7IelRiqtw9nVNsXdIqv9AtRqD7Lg5V3BzfK3KSY5tUwsnGregDJ tzGLU1Y4HMRzoPDjnNXEKjEA/HAECAjvlOLdLtr4VtOtvq6QAej2jDfkyLraNntB2dFN PFUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=xK7o2h0uCPzTn+BZp466NtcC29JdyGYqqZEyBuivOnc=; b=ctZwCTiukpYQCYUrFAWfBn0EJK/16Yk7VLm3b+cmFjsVQ64vbYvdyqdT9lUkOIeEnQ m7ZveUIMRi50pCCdnhc1rHmeObxKDTQtwOSu+b0V8loLmWq/S7PXOQkIvvK50ZyE7ig0 uBLskISIcNuNvNZJstAdDqkTi5HqY4kQTTPdLw7ckpkiunMVj6aGSoNYAEr3/0B2Q2S+ f5fsXJUTeFzB2IUMuXmI6i55c2KNx7zBaQNAia0topdI81kValfU/db5lJr5Zgdw79uU GOc+pmVy6+cgJWqm+15eFlIbBUKH0mD0EcjR+DJtJkl66IkhRj3CsuZ/ZGjyY2k9QAKi Y+nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TtsMuv73; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y20si12732649otq.190.2020.02.04.11.29.36; Tue, 04 Feb 2020 11:29:48 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=TtsMuv73; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727492AbgBDT2m (ORCPT + 99 others); Tue, 4 Feb 2020 14:28:42 -0500 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:46865 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727331AbgBDT2m (ORCPT ); Tue, 4 Feb 2020 14:28:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1580844521; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=xK7o2h0uCPzTn+BZp466NtcC29JdyGYqqZEyBuivOnc=; b=TtsMuv73+QiunvUHI+KsMxOZEiDxJpRebeAdupxR+PubLC0V4zUYgd1ZuTFBy8FU70IRHk A9P5yKZd1a42EXK/QFxqgAzC41Hi6ZMivtY7wb40srzX2UaVpXgPsDWyJ086QueSaCZIEX Kj1FkBVRhDWfX2Qalfl0jX107+TfDhs= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-115-gEqV_sM4PEmr472pFVoaeg-1; Tue, 04 Feb 2020 14:28:36 -0500 X-MC-Unique: gEqV_sM4PEmr472pFVoaeg-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 99ABA1005F73; Tue, 4 Feb 2020 19:28:33 +0000 (UTC) Received: from malachite.bss.redhat.com (dhcp-10-20-1-90.bss.redhat.com [10.20.1.90]) by smtp.corp.redhat.com (Postfix) with ESMTP id 40CF68068E; Tue, 4 Feb 2020 19:28:31 +0000 (UTC) From: Lyude Paul To: dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Cc: "Daniel Vetter" , "David Airlie" , "Rodrigo Vivi" , linux-kernel@vger.kernel.org, "Jani Nikula" , "Juha-Pekka Heikkila" , "Chris Wilson" , =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= , "Joonas Lahtinen" , "Lee Shawn C" , "Lyude Paul" , "Lucas De Marchi" , "Gwan-gyeong Mun" , "Manasi Navare" , "Maarten Lankhorst" , "Imre Deak" , "Ramalingam C" , "Thomas Zimmermann" , "Maxime Ripard" , =?UTF-8?q?Jos=C3=A9=20Roberto=20de=20Souza?= Subject: [PATCH 0/4] drm/dp,i915: eDP DPCD backlight control detection fixes Date: Tue, 4 Feb 2020 14:28:08 -0500 Message-Id: <20200204192823.111404-1-lyude@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Unfortunately, it turned out that the DPCD is also not a reliable way of probing for DPCD backlight support as some panels will lie and say they have DPCD backlight controls when they don't actually. So, revert back to the old behavior and add a bunch of EDID-based DP quirks for the panels that we know need this. As you might have already guessed, OUI quirks didn't seem to be a very safe bet for these panels due to them not having their device IDs filled out. Lyude Paul (4): Revert "drm/i915: Don't use VBT for detecting DPCD backlight controls" drm/dp: Introduce EDID-based quirks drm/i915: Force DPCD backlight mode on X1 Extreme 2nd Gen 4K AMOLED panel drm/i915: Force DPCD backlight mode for some Precision 7750 panels drivers/gpu/drm/drm_dp_helper.c | 78 +++++++++++++++++++ drivers/gpu/drm/drm_dp_mst_topology.c | 3 +- .../drm/i915/display/intel_display_types.h | 1 + drivers/gpu/drm/i915/display/intel_dp.c | 11 ++- .../drm/i915/display/intel_dp_aux_backlight.c | 28 +++++-- drivers/gpu/drm/i915/display/intel_dp_mst.c | 2 +- drivers/gpu/drm/i915/display/intel_psr.c | 2 +- include/drm/drm_dp_helper.h | 21 ++++- 8 files changed, 130 insertions(+), 16 deletions(-) --=20 2.24.1