Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp51596ybg; Mon, 8 Jun 2020 16:11:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxYG0eYUqIDTqiPIZ6iE2B30pjgjKnCpZrTdqVOeHij/Zr/24TD20Rjc3m7WwFEKaTZgQa X-Received: by 2002:aa7:d785:: with SMTP id s5mr25332194edq.17.1591657860693; Mon, 08 Jun 2020 16:11:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591657860; cv=none; d=google.com; s=arc-20160816; b=vqjsrL6193grhyu40iNZF8iwRCDGvnzF5Vh3qCB65Ff7qGdMn1mLXd2RU/X0fUXElX R9t6qVl1cNEIlPn8dYu4pIIei6RhCYEJPYDq3+vEKrXmAYoakZViOjwRo7UIi0vJnwov Hp3SOZxdan7PyC4m4iNQfoagux0Q1VIyeCgpfwlbXtZO5D+0YyeTSmYs7+DS9GHgNVXp +E7Kg4Vzpbl9VX9sfysC/sOiTVXWwWXU7cqE8Q5B8Hene98solWyyxdjun49opQBklJs E3wP5Ds5UTWVOogdEX+az+PbYvsdyJwtyHZMnuVUwnET9rACrCf1xFOvg+RVD7ffwYic rGig== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cx8MaYIvq64PHoCQgLG8uPo9U3vR3DFL98NquiZfiE0=; b=tj4xonBuGohnHwhcSG12za5fPaQ49VIkpaGtJw94GPgmjVxG4N7BLgLWy94Q+0kWsu 3s0h9cYDJoQlvkOZogn0Z/9bLku54+Sc+IxxO8LcILZmzUQG8HxU6id8UmV2wDyTvl4O BC5IIHMEt8FV/POBFT9UZzyw9lMqL3zYvTVKXE0q8UcsSjOr9CJ6SgsiQVzsIteXlbDc Gs9BIxHqABggW9ZlZTS3IhPBEIJQo7N2rD6NCvhmcLQFHc/LfUHqnUHq6H0wxPivRbCp Jbg4mfRE0SJTBeWbFjgkGIcVkOIpQs7rhanF799X9H+EV3lpl5WOicTObII3OzoJZcD5 BmhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zeeQbzI+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l9si9553286edn.352.2020.06.08.16.10.37; Mon, 08 Jun 2020 16:11:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zeeQbzI+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728103AbgFHXIJ (ORCPT + 99 others); Mon, 8 Jun 2020 19:08:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:51520 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727880AbgFHXHX (ORCPT ); Mon, 8 Jun 2020 19:07:23 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 956FC20774; Mon, 8 Jun 2020 23:07:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591657643; bh=NwARTSH7XyqllZL+B+8gV7JlC9yF8Y14manG+jnxrHk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zeeQbzI+C7l6AJdOTDXWL/+QJdfblQMBYzt6X9JCalFpjpTKCJzMEspEgYrYQPbzX PZ5+tAb9uSSyUxBBtQRoG67XA+ZovteIOPUeJ65Tj9CgkAucA/wkOG0nsTVX59+fNG pLDkCIYuZuIg8OwXnrzax6siDf1p3FWoIXO8S99g= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Mark Pearson , jendrina@lenovo.com, Mark Pearson , Lyude Paul , Sasha Levin , dri-devel@lists.freedesktop.org Subject: [PATCH AUTOSEL 5.7 060/274] drm/dp: Lenovo X13 Yoga OLED panel brightness fix Date: Mon, 8 Jun 2020 19:02:33 -0400 Message-Id: <20200608230607.3361041-60-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200608230607.3361041-1-sashal@kernel.org> References: <20200608230607.3361041-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mark Pearson [ Upstream commit 0df3ff451287d71c620384eb7bb2cd3a8106412c ] Add another panel that needs the edid quirk to the list so that brightness control works correctly. Fixes issue seen on Lenovo X13 Yoga with OLED panel Co-developed-by: jendrina@lenovo.com Signed-off-by: Mark Pearson [fixed commit message, sobs] Signed-off-by: Lyude Paul Link: https://patchwork.freedesktop.org/patch/msgid/20200519025635.22846-1-mpearson@lenovo.com Signed-off-by: Sasha Levin --- drivers/gpu/drm/drm_dp_helper.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/drm_dp_helper.c b/drivers/gpu/drm/drm_dp_helper.c index c6fbe6e6bc9d..41f0e797ce8c 100644 --- a/drivers/gpu/drm/drm_dp_helper.c +++ b/drivers/gpu/drm/drm_dp_helper.c @@ -1313,6 +1313,7 @@ static const struct edid_quirk edid_quirk_list[] = { { MFG(0x06, 0xaf), PROD_ID(0xeb, 0x41), BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) }, { MFG(0x4d, 0x10), PROD_ID(0xc7, 0x14), BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) }, { MFG(0x4d, 0x10), PROD_ID(0xe6, 0x14), BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) }, + { MFG(0x4c, 0x83), PROD_ID(0x47, 0x41), BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) }, }; #undef MFG -- 2.25.1