Re: [PATCH] drm/panel-simple: Power the panel when probing DP AUX backlight

From: Doug Anderson
Date: Thu Jul 15 2021 - 11:05:47 EST


Hi,

On Wed, Jul 14, 2021 at 9:34 AM Douglas Anderson <dianders@xxxxxxxxxxxx> wrote:
>
> When I tried booting up a device that needed the DP AUX backlight, I
> found an error in the logs:
> panel-simple-dp-aux: probe of aux-ti_sn65dsi86.aux.0 failed with error -110
>
> The aux transfers were failing because the panel wasn't powered. Just
> like when reading the EDID we need to power the panel when trying to
> talk to it. Add the needed pm_runtime calls.
>
> After I do this I can successfully probe the panel and adjust the
> backlight on my board.
>
> Fixes: bfd451403d70 ("drm/panel-simple: Support DP AUX backlight")
> Signed-off-by: Douglas Anderson <dianders@xxxxxxxxxxxx>
> ---
>
> drivers/gpu/drm/panel/panel-simple.c | 3 +++
> 1 file changed, 3 insertions(+)

Pushed with Lyude's review to drm-misc-next:

5ead9b5b1575 drm/panel-simple: Power the panel when probing DP AUX backlight