* [PATCH v1] drm/edid: add 6 bpc quirk to the Sharp LQ116M1JW10 @ 2025-10-30 9:44 Ajye Huang 2025-10-30 15:08 ` Doug Anderson 0 siblings, 1 reply; 7+ messages in thread From: Ajye Huang @ 2025-10-30 9:44 UTC (permalink / raw) To: linux-kernel Cc: Douglas Anderson, Maarten Lankhorst, Maxime Ripard, David Airlie, Simona Vetter, dri-devel, Ajye Huang The Sharp LQ116M1JW105 reports that it supports 8 bpc modes, but it will happen display noise in some videos. So, limit it to 6 bpc modes. Signed-off-by: Ajye Huang <ajye_huang@compal.corp-partner.google.com> --- drivers/gpu/drm/drm_edid.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index e2e85345aa9a..a73d37fe7ea1 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -250,6 +250,9 @@ static const struct edid_quirk { EDID_QUIRK('S', 'V', 'R', 0x1019, BIT(EDID_QUIRK_NON_DESKTOP)), EDID_QUIRK('A', 'U', 'O', 0x1111, BIT(EDID_QUIRK_NON_DESKTOP)), + /* LQ116M1JW10 displays noise when 8 bpc, but display fine as 6 bpc */ + EDID_QUIRK('S', 'H', 'P', 0x154c, EDID_QUIRK_FORCE_6BPC), + /* * @drm_edid_internal_quirk entries end here, following with the * @drm_edid_quirk entries. -- 2.25.1 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v1] drm/edid: add 6 bpc quirk to the Sharp LQ116M1JW10 2025-10-30 9:44 [PATCH v1] drm/edid: add 6 bpc quirk to the Sharp LQ116M1JW10 Ajye Huang @ 2025-10-30 15:08 ` Doug Anderson 2025-10-30 16:31 ` Ajye Huang 2025-10-31 10:37 ` Jani Nikula 0 siblings, 2 replies; 7+ messages in thread From: Doug Anderson @ 2025-10-30 15:08 UTC (permalink / raw) To: Ajye Huang Cc: linux-kernel, Maarten Lankhorst, Maxime Ripard, David Airlie, Simona Vetter, dri-devel, Jani Nikula Hi, On Thu, Oct 30, 2025 at 2:44 AM Ajye Huang <ajye_huang@compal.corp-partner.google.com> wrote: > > The Sharp LQ116M1JW105 reports that it supports 8 bpc modes, > but it will happen display noise in some videos. > So, limit it to 6 bpc modes. > > Signed-off-by: Ajye Huang <ajye_huang@compal.corp-partner.google.com> > --- > drivers/gpu/drm/drm_edid.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c > index e2e85345aa9a..a73d37fe7ea1 100644 > --- a/drivers/gpu/drm/drm_edid.c > +++ b/drivers/gpu/drm/drm_edid.c > @@ -250,6 +250,9 @@ static const struct edid_quirk { > EDID_QUIRK('S', 'V', 'R', 0x1019, BIT(EDID_QUIRK_NON_DESKTOP)), > EDID_QUIRK('A', 'U', 'O', 0x1111, BIT(EDID_QUIRK_NON_DESKTOP)), > > + /* LQ116M1JW10 displays noise when 8 bpc, but display fine as 6 bpc */ > + EDID_QUIRK('S', 'H', 'P', 0x154c, EDID_QUIRK_FORCE_6BPC), Reviewed-by: Douglas Anderson <dianders@chromium.org> I'll plan to apply this patch next week unless there are any comments. Given that it's just adding a quirk, I'm also happy to apply it soonner (or for someone else to apply it) if people think that's OK. :-) NOTE: in general if someone is involved in the discussion of a previous versoin, it's good to CC them on newer versions. I've added Jani back to the CC list here. -Doug ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v1] drm/edid: add 6 bpc quirk to the Sharp LQ116M1JW10 2025-10-30 15:08 ` Doug Anderson @ 2025-10-30 16:31 ` Ajye Huang 2025-10-31 10:37 ` Jani Nikula 1 sibling, 0 replies; 7+ messages in thread From: Ajye Huang @ 2025-10-30 16:31 UTC (permalink / raw) To: Doug Anderson Cc: linux-kernel, Maarten Lankhorst, Maxime Ripard, David Airlie, Simona Vetter, dri-devel, Jani Nikula Hi Doug, On Thu, Oct 30, 2025 at 11:08 PM Doug Anderson <dianders@chromium.org> wrote: > > NOTE: in general if someone is involved in the discussion of a > previous versoin, it's good to CC them on newer versions. I've added > Jani back to the CC list here. > Yes, you are right, It's my rudeness, I will pay more attention to this detail in the future. Thank you for reminding me. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v1] drm/edid: add 6 bpc quirk to the Sharp LQ116M1JW10 2025-10-30 15:08 ` Doug Anderson 2025-10-30 16:31 ` Ajye Huang @ 2025-10-31 10:37 ` Jani Nikula 2025-10-31 10:40 ` Jani Nikula 1 sibling, 1 reply; 7+ messages in thread From: Jani Nikula @ 2025-10-31 10:37 UTC (permalink / raw) To: Doug Anderson, Ajye Huang Cc: linux-kernel, Maarten Lankhorst, Maxime Ripard, David Airlie, Simona Vetter, dri-devel On Thu, 30 Oct 2025, Doug Anderson <dianders@chromium.org> wrote: > Hi, > > On Thu, Oct 30, 2025 at 2:44 AM Ajye Huang > <ajye_huang@compal.corp-partner.google.com> wrote: >> >> The Sharp LQ116M1JW105 reports that it supports 8 bpc modes, >> but it will happen display noise in some videos. >> So, limit it to 6 bpc modes. >> >> Signed-off-by: Ajye Huang <ajye_huang@compal.corp-partner.google.com> >> --- >> drivers/gpu/drm/drm_edid.c | 3 +++ >> 1 file changed, 3 insertions(+) >> >> diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c >> index e2e85345aa9a..a73d37fe7ea1 100644 >> --- a/drivers/gpu/drm/drm_edid.c >> +++ b/drivers/gpu/drm/drm_edid.c >> @@ -250,6 +250,9 @@ static const struct edid_quirk { >> EDID_QUIRK('S', 'V', 'R', 0x1019, BIT(EDID_QUIRK_NON_DESKTOP)), >> EDID_QUIRK('A', 'U', 'O', 0x1111, BIT(EDID_QUIRK_NON_DESKTOP)), >> >> + /* LQ116M1JW10 displays noise when 8 bpc, but display fine as 6 bpc */ >> + EDID_QUIRK('S', 'H', 'P', 0x154c, EDID_QUIRK_FORCE_6BPC), > > Reviewed-by: Douglas Anderson <dianders@chromium.org> FWIW, Acked-by: Jani Nikula <jani.nikula@intel.com> > > I'll plan to apply this patch next week unless there are any comments. > Given that it's just adding a quirk, I'm also happy to apply it > soonner (or for someone else to apply it) if people think that's OK. > :-) > > NOTE: in general if someone is involved in the discussion of a > previous versoin, it's good to CC them on newer versions. I've added > Jani back to the CC list here. > > -Doug -- Jani Nikula, Intel ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v1] drm/edid: add 6 bpc quirk to the Sharp LQ116M1JW10 2025-10-31 10:37 ` Jani Nikula @ 2025-10-31 10:40 ` Jani Nikula 2025-10-31 14:24 ` Doug Anderson 2025-10-31 15:35 ` Ajye Huang 0 siblings, 2 replies; 7+ messages in thread From: Jani Nikula @ 2025-10-31 10:40 UTC (permalink / raw) To: Doug Anderson, Ajye Huang Cc: linux-kernel, Maarten Lankhorst, Maxime Ripard, David Airlie, Simona Vetter, dri-devel On Fri, 31 Oct 2025, Jani Nikula <jani.nikula@intel.com> wrote: > On Thu, 30 Oct 2025, Doug Anderson <dianders@chromium.org> wrote: >> Hi, >> >> On Thu, Oct 30, 2025 at 2:44 AM Ajye Huang >> <ajye_huang@compal.corp-partner.google.com> wrote: >>> >>> The Sharp LQ116M1JW105 reports that it supports 8 bpc modes, >>> but it will happen display noise in some videos. >>> So, limit it to 6 bpc modes. >>> >>> Signed-off-by: Ajye Huang <ajye_huang@compal.corp-partner.google.com> >>> --- >>> drivers/gpu/drm/drm_edid.c | 3 +++ >>> 1 file changed, 3 insertions(+) >>> >>> diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c >>> index e2e85345aa9a..a73d37fe7ea1 100644 >>> --- a/drivers/gpu/drm/drm_edid.c >>> +++ b/drivers/gpu/drm/drm_edid.c >>> @@ -250,6 +250,9 @@ static const struct edid_quirk { >>> EDID_QUIRK('S', 'V', 'R', 0x1019, BIT(EDID_QUIRK_NON_DESKTOP)), >>> EDID_QUIRK('A', 'U', 'O', 0x1111, BIT(EDID_QUIRK_NON_DESKTOP)), >>> >>> + /* LQ116M1JW10 displays noise when 8 bpc, but display fine as 6 bpc */ >>> + EDID_QUIRK('S', 'H', 'P', 0x154c, EDID_QUIRK_FORCE_6BPC), >> >> Reviewed-by: Douglas Anderson <dianders@chromium.org> > > FWIW, > > Acked-by: Jani Nikula <jani.nikula@intel.com> And as soon as I hit send, I notice the quirk is missing BIT(). It's a bit mask, and the enum signifies the bit number. BR, Jani. > >> >> I'll plan to apply this patch next week unless there are any comments. >> Given that it's just adding a quirk, I'm also happy to apply it >> soonner (or for someone else to apply it) if people think that's OK. >> :-) >> >> NOTE: in general if someone is involved in the discussion of a >> previous versoin, it's good to CC them on newer versions. I've added >> Jani back to the CC list here. >> >> -Doug -- Jani Nikula, Intel ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v1] drm/edid: add 6 bpc quirk to the Sharp LQ116M1JW10 2025-10-31 10:40 ` Jani Nikula @ 2025-10-31 14:24 ` Doug Anderson 2025-10-31 15:35 ` Ajye Huang 1 sibling, 0 replies; 7+ messages in thread From: Doug Anderson @ 2025-10-31 14:24 UTC (permalink / raw) To: Jani Nikula Cc: Ajye Huang, linux-kernel, Maarten Lankhorst, Maxime Ripard, David Airlie, Simona Vetter, dri-devel Hi, On Fri, Oct 31, 2025 at 3:40 AM Jani Nikula <jani.nikula@intel.com> wrote: > > On Fri, 31 Oct 2025, Jani Nikula <jani.nikula@intel.com> wrote: > > On Thu, 30 Oct 2025, Doug Anderson <dianders@chromium.org> wrote: > >> Hi, > >> > >> On Thu, Oct 30, 2025 at 2:44 AM Ajye Huang > >> <ajye_huang@compal.corp-partner.google.com> wrote: > >>> > >>> The Sharp LQ116M1JW105 reports that it supports 8 bpc modes, > >>> but it will happen display noise in some videos. > >>> So, limit it to 6 bpc modes. > >>> > >>> Signed-off-by: Ajye Huang <ajye_huang@compal.corp-partner.google.com> > >>> --- > >>> drivers/gpu/drm/drm_edid.c | 3 +++ > >>> 1 file changed, 3 insertions(+) > >>> > >>> diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c > >>> index e2e85345aa9a..a73d37fe7ea1 100644 > >>> --- a/drivers/gpu/drm/drm_edid.c > >>> +++ b/drivers/gpu/drm/drm_edid.c > >>> @@ -250,6 +250,9 @@ static const struct edid_quirk { > >>> EDID_QUIRK('S', 'V', 'R', 0x1019, BIT(EDID_QUIRK_NON_DESKTOP)), > >>> EDID_QUIRK('A', 'U', 'O', 0x1111, BIT(EDID_QUIRK_NON_DESKTOP)), > >>> > >>> + /* LQ116M1JW10 displays noise when 8 bpc, but display fine as 6 bpc */ > >>> + EDID_QUIRK('S', 'H', 'P', 0x154c, EDID_QUIRK_FORCE_6BPC), > >> > >> Reviewed-by: Douglas Anderson <dianders@chromium.org> > > > > FWIW, > > > > Acked-by: Jani Nikula <jani.nikula@intel.com> > > And as soon as I hit send, I notice the quirk is missing BIT(). It's a > bit mask, and the enum signifies the bit number. Crud, that's not good! Sorry for missing that. :( Definitely glad you noticed! From off-list communication, it sounds like there is still some digging going on to see what's really happening with this panel, too. There is still some sort of mystery... -Doug ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v1] drm/edid: add 6 bpc quirk to the Sharp LQ116M1JW10 2025-10-31 10:40 ` Jani Nikula 2025-10-31 14:24 ` Doug Anderson @ 2025-10-31 15:35 ` Ajye Huang 1 sibling, 0 replies; 7+ messages in thread From: Ajye Huang @ 2025-10-31 15:35 UTC (permalink / raw) To: Jani Nikula Cc: Doug Anderson, linux-kernel, Maarten Lankhorst, Maxime Ripard, David Airlie, Simona Vetter, dri-devel Hi Jani, Doug On Fri, Oct 31, 2025 at 6:40 PM Jani Nikula <jani.nikula@intel.com> wrote: > > And as soon as I hit send, I notice the quirk is missing BIT(). It's a > bit mask, and the enum signifies the bit number. > This is my mistake, really sorry about that. The device which is equipped with the sharp panel uses kernel 6.6, which #define EDID_QUIRK_FORCE_6BPC (1 << 10) in drm_edid.c However, the kernel latest is using enum, really appreciate you all find this my mistake. I will send the v2 ,Thank you all. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-10-31 15:35 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2025-10-30 9:44 [PATCH v1] drm/edid: add 6 bpc quirk to the Sharp LQ116M1JW10 Ajye Huang 2025-10-30 15:08 ` Doug Anderson 2025-10-30 16:31 ` Ajye Huang 2025-10-31 10:37 ` Jani Nikula 2025-10-31 10:40 ` Jani Nikula 2025-10-31 14:24 ` Doug Anderson 2025-10-31 15:35 ` Ajye Huang
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®