[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAD=FV=WbzmF_Jkwrcm27eqXaqNhGq_D=8yfCKqELET+=+EaLAA@mail.gmail.com>
Date: Wed, 8 Feb 2023 09:13:43 -0800
From: Doug Anderson <dianders@...omium.org>
To: Kalyan Thota <quic_kalyant@...cinc.com>
Cc: dri-devel@...ts.freedesktop.org, linux-arm-msm@...r.kernel.org,
freedreno@...ts.freedesktop.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, robdclark@...omium.org,
swboyd@...omium.org, quic_vpolimer@...cinc.com,
dmitry.baryshkov@...aro.org, quic_abhinavk@...cinc.com,
marijn.suijten@...ainline.org
Subject: Re: [PATCH v3 0/4] Reserve DSPPs based on user request
Hi,
On Wed, Feb 8, 2023 at 5:42 AM Kalyan Thota <quic_kalyant@...cinc.com> wrote:
>
> This series will enable color features on sc7280 target which has
> primary panel as eDP
>
> The series removes DSPP allocation based on encoder type and allows
> the DSPP reservation based on user request via CTM.
>
> The series will release/reserve the dpu resources when ever there is
> a topology change to suit the new requirements.
>
> Kalyan Thota (4):
> drm/msm/dpu: clear DSPP reservations in rm release
> drm/msm/dpu: add DSPPs into reservation upon a CTM request
> drm/msm/dpu: avoid unnecessary check in DPU reservations
> drm/msm/dpu: reserve the resources on topology change
>
> drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h | 2 +
> drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 58 ++++++++++++++++-------------
> drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c | 2 +
> 3 files changed, 37 insertions(+), 25 deletions(-)
I tried out your changes, but unfortunately it seems like there's
something wrong. :( I did this:
1. Picked your 5 patches to the chromeos-5.15 tree (this series plus [1])
2. Put them on herobrine villager.
3. Booted up with no external display plugged in.
4. Tried to enable night light in the ChromeOS UI.
5. Night light didn't turn on for the internal display.
I also tried applying them to the top of msm-next (had to resolve some
small conflicts). Same thing, night light didn't work.
I thought maybe this was because the Chrome browser hasn't been
updated to properly use atomic_check for testing for night light, so I
hacked my herobrine device tree to not mark "mdss_dp" as "okay". Now
there's _only_ an eDP display. Same thing, night light didn't work.
I could only get night light to work for the internal display if I
plugged and unplugged an external display in.
Is the above the behavior that's expected right now?
[1] https://lore.kernel.org/all/1674814487-2112-1-git-send-email-quic_kalyant@quicinc.com/
Powered by blists - more mailing lists