* [PATCH] drm/panel/boe-tv101wum-nl6: set MIPI_DSI_MODE_LPM after sending panel disable cmds
@ 2026-04-21 15:31 Brady Norander
2026-04-24 9:30 ` Neil Armstrong
0 siblings, 1 reply; 3+ messages in thread
From: Brady Norander @ 2026-04-21 15:31 UTC (permalink / raw)
To: Neil Armstrong, Jessica Zhang, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter
Cc: dri-devel, linux-kernel, Brady Norander
A recent change to Mediatek drm driver enabled HS mode support. With that
change, my MT8183-based krane sku176 chromebook display's colors would look darker
and desaturated after turning the display off and back on. Looking at other panel
drivers, it seems common to enable HS mode to send the disable commands and to
disable HS mode afterwards. However, the boe-tv101wum-nl6 driver would never
disable HS mode, leading to this issue. Update the behavior of boe_panel_disable
to match those other panel drivers. As a side note, I did also test removing the
line which enables HS mode during panel_disable. This worked fine for my device,
but just in case that doesn't work for other devices, I chose to keep that and
instead disable HS mode after sending the panel disable commands.
Signed-off-by: Brady Norander <brady.norander@mainlining.org>
diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c
index d5fe105bdbdd..f69b5bd776c0 100644
--- a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c
+++ b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c
@@ -1326,6 +1326,8 @@ static int boe_panel_disable(struct drm_panel *panel)
mipi_dsi_msleep(&ctx, 150);
+ boe->dsi->mode_flags |= MIPI_DSI_MODE_LPM;
+
return ctx.accum_err;
}
--
2.52.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] drm/panel/boe-tv101wum-nl6: set MIPI_DSI_MODE_LPM after sending panel disable cmds
2026-04-21 15:31 [PATCH] drm/panel/boe-tv101wum-nl6: set MIPI_DSI_MODE_LPM after sending panel disable cmds Brady Norander
@ 2026-04-24 9:30 ` Neil Armstrong
2026-04-24 15:50 ` Brady Norander
0 siblings, 1 reply; 3+ messages in thread
From: Neil Armstrong @ 2026-04-24 9:30 UTC (permalink / raw)
To: Brady Norander, Jessica Zhang, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter
Cc: dri-devel, linux-kernel
On 4/21/26 17:31, Brady Norander wrote:
> A recent change to Mediatek drm driver enabled HS mode support. With that
> change, my MT8183-based krane sku176 chromebook display's colors would look darker
> and desaturated after turning the display off and back on. Looking at other panel
> drivers, it seems common to enable HS mode to send the disable commands and to
> disable HS mode afterwards. However, the boe-tv101wum-nl6 driver would never
> disable HS mode, leading to this issue. Update the behavior of boe_panel_disable
> to match those other panel drivers. As a side note, I did also test removing the
> line which enables HS mode during panel_disable. This worked fine for my device,
> but just in case that doesn't work for other devices, I chose to keep that and
> instead disable HS mode after sending the panel disable commands.
>
> Signed-off-by: Brady Norander <brady.norander@mainlining.org>
>
> diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c
> index d5fe105bdbdd..f69b5bd776c0 100644
> --- a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c
> +++ b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c
> @@ -1326,6 +1326,8 @@ static int boe_panel_disable(struct drm_panel *panel)
>
> mipi_dsi_msleep(&ctx, 150);
>
> + boe->dsi->mode_flags |= MIPI_DSI_MODE_LPM;
> +
> return ctx.accum_err;
> }
>
Could you add a Fixes tag ?
Neil
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] drm/panel/boe-tv101wum-nl6: set MIPI_DSI_MODE_LPM after sending panel disable cmds
2026-04-24 9:30 ` Neil Armstrong
@ 2026-04-24 15:50 ` Brady Norander
0 siblings, 0 replies; 3+ messages in thread
From: Brady Norander @ 2026-04-24 15:50 UTC (permalink / raw)
To: Neil Armstrong, Jessica Zhang, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter
Cc: dri-devel, linux-kernel
On 4/24/26 05:30, Neil Armstrong wrote:
> On 4/21/26 17:31, Brady Norander wrote:
>> A recent change to Mediatek drm driver enabled HS mode support. With that
>> change, my MT8183-based krane sku176 chromebook display's colors would
>> look darker
>> and desaturated after turning the display off and back on. Looking at
>> other panel
>> drivers, it seems common to enable HS mode to send the disable
>> commands and to
>> disable HS mode afterwards. However, the boe-tv101wum-nl6 driver would
>> never
>> disable HS mode, leading to this issue. Update the behavior of
>> boe_panel_disable
>> to match those other panel drivers. As a side note, I did also test
>> removing the
>> line which enables HS mode during panel_disable. This worked fine for
>> my device,
>> but just in case that doesn't work for other devices, I chose to keep
>> that and
>> instead disable HS mode after sending the panel disable commands.
>>
>> Signed-off-by: Brady Norander <brady.norander@mainlining.org>
>>
>> diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c b/drivers/
>> gpu/drm/panel/panel-boe-tv101wum-nl6.c
>> index d5fe105bdbdd..f69b5bd776c0 100644
>> --- a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c
>> +++ b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c
>> @@ -1326,6 +1326,8 @@ static int boe_panel_disable(struct drm_panel
>> *panel)
>> mipi_dsi_msleep(&ctx, 150);
>> + boe->dsi->mode_flags |= MIPI_DSI_MODE_LPM;
>> +
>> return ctx.accum_err;
>> }
>
> Could you add a Fixes tag ?
>
> Neil
I can add a fixes tag and send a v2. Just one thing I'm not sure about,
do I tag the mediatek drm commit which git bisect found, or do I tag the
commit which added the panel driver since this faulty logic has existed
since the driver was added?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-04-24 15:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-21 15:31 [PATCH] drm/panel/boe-tv101wum-nl6: set MIPI_DSI_MODE_LPM after sending panel disable cmds Brady Norander
2026-04-24 9:30 ` Neil Armstrong
2026-04-24 15:50 ` Brady Norander
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®