mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Brady Norander <brady.norander@mainlining.org>
To: Neil Armstrong <neil.armstrong@linaro.org>,
	Jessica Zhang <jesszhan0024@gmail.com>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drm/panel/boe-tv101wum-nl6: set MIPI_DSI_MODE_LPM after sending panel disable cmds
Date: Fri, 24 Apr 2026 11:50:28 -0400	[thread overview]
Message-ID: <0c0460c2-a2a0-4f61-8d23-80c3e9592cb5@mainlining.org> (raw)
In-Reply-To: <0cc98ad2-bce8-476a-8f27-2c201eed9828@linaro.org>

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?

      reply	other threads:[~2026-04-24 15:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-21 15:31 Brady Norander
2026-04-24  9:30 ` Neil Armstrong
2026-04-24 15:50   ` Brady Norander [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0c0460c2-a2a0-4f61-8d23-80c3e9592cb5@mainlining.org \
    --to=brady.norander@mainlining.org \
    --cc=airlied@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jesszhan0024@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=simona@ffwll.ch \
    --cc=tzimmermann@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®