From patchwork Fri Jun 25 02:13:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AceLan Kao X-Patchwork-Id: 1496874 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=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=UWl7pyDr; 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 4GB0t54R6Nz9sW8; Fri, 25 Jun 2021 12:13:49 +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 1lwbLl-0001KP-Bq; Fri, 25 Jun 2021 02:13:45 +0000 Received: from mail-pj1-f54.google.com ([209.85.216.54]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lwbLi-0001J3-PN for kernel-team@lists.ubuntu.com; Fri, 25 Jun 2021 02:13:42 +0000 Received: by mail-pj1-f54.google.com with SMTP id 13-20020a17090a08cdb029016eed209ca4so4645503pjn.1 for ; Thu, 24 Jun 2021 19:13:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vh6WUEDo7BCHtgSOpOGbqquOwY8neux3YVL2ips14m4=; b=UWl7pyDrPb0CpIIaQM/klBjCFGKzhNyKvUkTMh0ifR0ZDF3Tomwo/POcW9JApSsErK e6tokXwLpRiEA3onWAMjABDEzMJKwiNz5ed8dt5FxJEkGrLei4oBA+DzMx/hFo+w5Xnl em8ReXnchXgZRNxkhynvceKvMfXFLthS9+VvdPTn6KuQ9TfIBxmSdTmiEFLMjll2HRsI bycxW3uXzU/BsFc3k24Cf++IRKbZkaOU5E5ArpGgJT2csq45Yag5HGDeM6Q/nF5JEeFC lpoZZmhWbWZQMmZn5r4eEsc1VLVlgEnNm7L84jzbvo2TO8lpOqBfKUme5Q+2Vu5xcC/a 3CuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=vh6WUEDo7BCHtgSOpOGbqquOwY8neux3YVL2ips14m4=; b=eE/+k5LjOKbqNrFgi1+1INKQqJL4LgZ0UPQ7hpOGwexQdfMZG+qYJ7pAQ8y+n4g4v3 pa3QEe8vRCcf44jVAEkpG4kj2SnX0jrupAxQkHApOeBA1OrnYUtS/s7IJ1xlnzSKhTvR +pyxKrNXMwNDA1aDpjj8Ce9oT8eI/UmqjQUlDoi6EYSNznPAltzlJ9ltjFw8t3deU0oN GaETcN6raqpECPZSU903csyDuo7oLsdJWZf13yHnN9EJ1y16toJMgMLOis8ST6Cm0HEO 6U3eOfCJXrjshTkjtGMvMQ1mass+35wZtI46tXHPqiOucGdzJ85Pfr6BoKZrCgsDeNBW FpAw== X-Gm-Message-State: AOAM530U7vkLf1FUWeXD+8wh4rmHIQxBfwbI6s6Gg35MDxb00/4DFfZk 5g0D248AurBrVVTS8GKYxZ16hLr6VSF5vg== X-Google-Smtp-Source: ABdhPJwRICtz5m3bis/WZQDOp6FGN0P/8y3VciUGrKCYpBRGxYdPxg7NCWFFc141cP9zP1i03fRxUw== X-Received: by 2002:a17:90a:b115:: with SMTP id z21mr8392448pjq.17.1624587220267; Thu, 24 Jun 2021 19:13:40 -0700 (PDT) Received: from localhost (61-220-137-34.HINET-IP.hinet.net. [61.220.137.34]) by smtp.gmail.com with ESMTPSA id w8sm3747044pgf.81.2021.06.24.19.13.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Jun 2021 19:13:39 -0700 (PDT) From: AceLan Kao To: kernel-team@lists.ubuntu.com Subject: [PATCH 1/1][SRU][H] UBUNTU: SAUCE: drm/i915: Force DPCD backlight mode for Dell XPS 9510(TGL) Date: Fri, 25 Jun 2021 10:13:28 +0800 Message-Id: <20210625021328.936257-4-acelan.kao@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210625021328.936257-1-acelan.kao@canonical.com> References: <20210625021328.936257-1-acelan.kao@canonical.com> MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.216.54; envelope-from=acelan@gmail.com; helo=mail-pj1-f54.google.com 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" From: "Chia-Lin Kao (AceLan)" BugLink: https://bugs.launchpad.net/bugs/1933566 DELL XPS 9510 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. Signed-off-by: Chia-Lin Kao (AceLan) --- 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 2504f8d1906c..5539ef1621d1 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(0x4d, 0x41), BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) }, }; #undef MFG