diff mbox series

[1/1,SRU,F,G,H,OEM-5.6] UBUNTU: SAUCE: drm/dp: Add dpcd backlight control for 0x4c83 0x4f41

Message ID 20201126092011.342429-2-acelan.kao@canonical.com
State New
Headers show
Series Add dpcd backlight control | expand

Commit Message

AceLan Kao Nov. 26, 2020, 9:20 a.m. UTC
From: Kai-Chuan Hsieh <kaichuan.hsieh@canonical.com>

BugLink: https://bugs.launchpad.net/bugs/1905663

Signed-off-by: Kai-Chuan Hsieh <kaichuan.hsieh@canonical.com>
Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
---
 drivers/gpu/drm/drm_dp_helper.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Kleber Sacilotto de Souza Nov. 26, 2020, 10:26 a.m. UTC | #1
On 26.11.20 10:20, AceLan Kao wrote:
> From: Kai-Chuan Hsieh <kaichuan.hsieh@canonical.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1905663
> 
> Signed-off-by: Kai-Chuan Hsieh <kaichuan.hsieh@canonical.com>
> Signed-off-by: AceLan Kao <acelan.kao@canonical.com>

Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>

> ---
>   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 309aed857348..b835dde8cc7b 100644
> --- a/drivers/gpu/drm/drm_dp_helper.c
> +++ b/drivers/gpu/drm/drm_dp_helper.c
> @@ -1466,6 +1466,7 @@ static const struct edid_quirk edid_quirk_list[] = {
>   	{ 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) },
> +	{ MFG(0x4c, 0x83), PROD_ID(0x4f, 0x41), BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) },
>   	/*
>   	 * Some HP ZBook Studio G7 systems have panels support and relies on
>   	 * PSR being enabled.
>
Stefan Bader Nov. 26, 2020, 3:12 p.m. UTC | #2
On 26.11.20 10:20, AceLan Kao wrote:
> From: Kai-Chuan Hsieh <kaichuan.hsieh@canonical.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1905663
> 
> Signed-off-by: Kai-Chuan Hsieh <kaichuan.hsieh@canonical.com>
> Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
> ---
>  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 309aed857348..b835dde8cc7b 100644
> --- a/drivers/gpu/drm/drm_dp_helper.c
> +++ b/drivers/gpu/drm/drm_dp_helper.c
> @@ -1466,6 +1466,7 @@ static const struct edid_quirk edid_quirk_list[] = {
>  	{ 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) },
> +	{ MFG(0x4c, 0x83), PROD_ID(0x4f, 0x41), BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) },
>  	/*
>  	 * Some HP ZBook Studio G7 systems have panels support and relies on
>  	 * PSR being enabled.
>
Ian May Dec. 8, 2020, 3:55 p.m. UTC | #3
Applied to focal/linux
Applied to groovy/linux

Thanks,
Ian

On 2020-11-26 17:20:11 , AceLan Kao wrote:
> From: Kai-Chuan Hsieh <kaichuan.hsieh@canonical.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1905663
> 
> Signed-off-by: Kai-Chuan Hsieh <kaichuan.hsieh@canonical.com>
> Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
> ---
>  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 309aed857348..b835dde8cc7b 100644
> --- a/drivers/gpu/drm/drm_dp_helper.c
> +++ b/drivers/gpu/drm/drm_dp_helper.c
> @@ -1466,6 +1466,7 @@ static const struct edid_quirk edid_quirk_list[] = {
>  	{ 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) },
> +	{ MFG(0x4c, 0x83), PROD_ID(0x4f, 0x41), BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) },
>  	/*
>  	 * Some HP ZBook Studio G7 systems have panels support and relies on
>  	 * PSR being enabled.
> -- 
> 2.25.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
diff mbox series

Patch

diff --git a/drivers/gpu/drm/drm_dp_helper.c b/drivers/gpu/drm/drm_dp_helper.c
index 309aed857348..b835dde8cc7b 100644
--- a/drivers/gpu/drm/drm_dp_helper.c
+++ b/drivers/gpu/drm/drm_dp_helper.c
@@ -1466,6 +1466,7 @@  static const struct edid_quirk edid_quirk_list[] = {
 	{ 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) },
+	{ MFG(0x4c, 0x83), PROD_ID(0x4f, 0x41), BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) },
 	/*
 	 * Some HP ZBook Studio G7 systems have panels support and relies on
 	 * PSR being enabled.