* [PATCH] drm/panel-edp: Clarify the `prepare_to_enable` description in comments
@ 2025-05-22 0:32 Douglas Anderson
2025-05-22 7:20 ` Neil Armstrong
2025-06-05 7:00 ` Neil Armstrong
0 siblings, 2 replies; 3+ messages in thread
From: Douglas Anderson @ 2025-05-22 0:32 UTC (permalink / raw)
To: dri-devel
Cc: Rob Clark, Douglas Anderson, David Airlie, Jessica Zhang,
Maarten Lankhorst, Maxime Ripard, Neil Armstrong, Simona Vetter,
Thomas Zimmermann, linux-kernel
It's unclear why I originally wrote in the description of
`prepare_to_enable` that "This is not specified in a standard way on
eDP timing diagrams" and then also wrote "It is effectively the time
from HPD going high till you can turn on the backlight." It seems
pretty clear that it's (T4+T5+T6+T8)-min. Either I was confused when I
wrote this or I was looking at some strange panel datasheet that I can
no longer find.
Update the description of the field so it's easier for people to fill
this in. Couch the description with "usually" in case there really was
some weird datasheet where things were specified in a different way.
Signed-off-by: Douglas Anderson <dianders@chromium.org>
---
drivers/gpu/drm/panel/panel-edp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c
index 9adbe0f11421..74f5f9006a5b 100644
--- a/drivers/gpu/drm/panel/panel-edp.c
+++ b/drivers/gpu/drm/panel/panel-edp.c
@@ -113,7 +113,7 @@ struct panel_delay {
* // do fixed enable delay
* // enforce prepare_to_enable min time
*
- * This is not specified in a standard way on eDP timing diagrams.
+ * This is usually (T4+T5+T6+T8)-min on eDP timing diagrams.
* It is effectively the time from HPD going high till you can
* turn on the backlight.
*/
--
2.49.0.1151.ga128411c76-goog
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] drm/panel-edp: Clarify the `prepare_to_enable` description in comments
2025-05-22 0:32 [PATCH] drm/panel-edp: Clarify the `prepare_to_enable` description in comments Douglas Anderson
@ 2025-05-22 7:20 ` Neil Armstrong
2025-06-05 7:00 ` Neil Armstrong
1 sibling, 0 replies; 3+ messages in thread
From: Neil Armstrong @ 2025-05-22 7:20 UTC (permalink / raw)
To: Douglas Anderson, dri-devel
Cc: Rob Clark, David Airlie, Jessica Zhang, Maarten Lankhorst,
Maxime Ripard, Simona Vetter, Thomas Zimmermann, linux-kernel
On 22/05/2025 02:32, Douglas Anderson wrote:
> It's unclear why I originally wrote in the description of
> `prepare_to_enable` that "This is not specified in a standard way on
> eDP timing diagrams" and then also wrote "It is effectively the time
> from HPD going high till you can turn on the backlight." It seems
> pretty clear that it's (T4+T5+T6+T8)-min. Either I was confused when I
> wrote this or I was looking at some strange panel datasheet that I can
> no longer find.
>
> Update the description of the field so it's easier for people to fill
> this in. Couch the description with "usually" in case there really was
> some weird datasheet where things were specified in a different way.
>
> Signed-off-by: Douglas Anderson <dianders@chromium.org>
> ---
>
> drivers/gpu/drm/panel/panel-edp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c
> index 9adbe0f11421..74f5f9006a5b 100644
> --- a/drivers/gpu/drm/panel/panel-edp.c
> +++ b/drivers/gpu/drm/panel/panel-edp.c
> @@ -113,7 +113,7 @@ struct panel_delay {
> * // do fixed enable delay
> * // enforce prepare_to_enable min time
> *
> - * This is not specified in a standard way on eDP timing diagrams.
> + * This is usually (T4+T5+T6+T8)-min on eDP timing diagrams.
> * It is effectively the time from HPD going high till you can
> * turn on the backlight.
> */
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] drm/panel-edp: Clarify the `prepare_to_enable` description in comments
2025-05-22 0:32 [PATCH] drm/panel-edp: Clarify the `prepare_to_enable` description in comments Douglas Anderson
2025-05-22 7:20 ` Neil Armstrong
@ 2025-06-05 7:00 ` Neil Armstrong
1 sibling, 0 replies; 3+ messages in thread
From: Neil Armstrong @ 2025-06-05 7:00 UTC (permalink / raw)
To: dri-devel, Douglas Anderson
Cc: Rob Clark, David Airlie, Jessica Zhang, Maarten Lankhorst,
Maxime Ripard, Simona Vetter, Thomas Zimmermann, linux-kernel
Hi,
On Wed, 21 May 2025 17:32:05 -0700, Douglas Anderson wrote:
> It's unclear why I originally wrote in the description of
> `prepare_to_enable` that "This is not specified in a standard way on
> eDP timing diagrams" and then also wrote "It is effectively the time
> from HPD going high till you can turn on the backlight." It seems
> pretty clear that it's (T4+T5+T6+T8)-min. Either I was confused when I
> wrote this or I was looking at some strange panel datasheet that I can
> no longer find.
>
> [...]
Thanks, Applied to https://gitlab.freedesktop.org/drm/misc/kernel.git (drm-misc-next)
[1/1] drm/panel-edp: Clarify the `prepare_to_enable` description in comments
https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/0b3d99425891e3c4a87259afb88fbd1168dc7707
--
Neil
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-06-05 7:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-22 0:32 [PATCH] drm/panel-edp: Clarify the `prepare_to_enable` description in comments Douglas Anderson
2025-05-22 7:20 ` Neil Armstrong
2025-06-05 7:00 ` Neil Armstrong
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®