Message ID | 20210802091414.9716-2-aaron.ma@canonical.com |
---|---|
State | New |
Headers | show |
Series | UBUNTU: SAUCE: Fix backlight control on Samsung 16727 panel | expand |
On 02.08.21 11:14, Aaron Ma wrote: > 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 <aaron.ma@canonical.com> > Link: https://lore.kernel.org/lkml/20210519095305.47133-1-aaron.ma@canonical.com/ > Signed-off-by: Aaron Ma <aaron.ma@canonical.com> Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com> Thanks > --- > 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 >
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