From patchwork Mon Aug 2 09:14:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Ma X-Patchwork-Id: 1512331 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=hV9MYQ21; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GdXPZ3115z9sWq; Mon, 2 Aug 2021 19:14:10 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1mAU1K-0008Le-P8; Mon, 02 Aug 2021 09:14:02 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1mAU1I-0008Ky-DN for kernel-team@lists.ubuntu.com; Mon, 02 Aug 2021 09:14:00 +0000 Received: from localhost.localdomain (unknown [222.129.38.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 65BA53F07F for ; Mon, 2 Aug 2021 09:13:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1627895640; bh=sLVtXhR3+Hrd+nMaKXkDvRuzGVFumfgaz83xJGF9dOU=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=hV9MYQ21aXBiH0cTw/DTQhDzl74ig/NleQ8vot5NNxMngWjuZUNYHMaDZonmxo0Ss Q6Yh0rvV8W+wBtBVNF2OVNVt0wbv44nBXNxveddbQB5vp4BY4sz/y2/4mXnjwq9/Hd 6Dhzw0TqqaeNrwh6j9SMOVi8Acb/kBu7/C8DxQopswRt584d9NaNDbZk6xFKvGVJkk 0sn2L9Li08oDFTyQkPFtDUZeU00PB3l6aXxNt9AtNdunddVXevsVu90yFh2Vc/sj1d 0NCstEZmOkZxAaSxzozJzWq2+tylnizWOKIC2S9P3wJ4IW01um02zwK6X9XRtAfx96 1BHyqXFfCGbAQ== From: Aaron Ma To: kernel-team@lists.ubuntu.com Subject: [PATCH 1/1] UBUNTU: SAUCE: drm/i915: Force DPCD backlight mode for Samsung 16727 panel Date: Mon, 2 Aug 2021 17:14:14 +0800 Message-Id: <20210802091414.9716-2-aaron.ma@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210802091414.9716-1-aaron.ma@canonical.com> References: <20210802091414.9716-1-aaron.ma@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1930527 Another Samsung OLED panel needs DPCD to get control of backlight. Kernel 5.12+ support the backlight via: commit: <4a8d79901d5b> ("drm/i915/dp: Enable Intel's HDR backlight interface (only SDR for now)") Only make backlight work on lower versions of kernel. Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/3474 Cc: stable@vger.kernel.org # 5.11- Signed-off-by: Aaron Ma Link: https://lore.kernel.org/lkml/20210519095305.47133-1-aaron.ma@canonical.com/ Signed-off-by: Aaron Ma Acked-by: Kleber Sacilotto de Souza --- 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 8cba5bb1894f..6d1c424e0c7a 100644 --- a/drivers/gpu/drm/drm_dp_helper.c +++ b/drivers/gpu/drm/drm_dp_helper.c @@ -1967,6 +1967,7 @@ static const struct edid_quirk edid_quirk_list[] = { { MFG(0x4c, 0x83), PROD_ID(0x47, 0x41), BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) }, { MFG(0x4c, 0x83), PROD_ID(0x4f, 0x41), BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) }, { MFG(0x09, 0xe5), PROD_ID(0xde, 0x08), BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) }, + { MFG(0x4c, 0x83), PROD_ID(0x57, 0x41), BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) }, }; #undef MFG