[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56bf547a-08a5-4a08-87a9-c65f94416ef3@kuruczgy.com>
Date: Sat, 31 Aug 2024 20:46:32 +0200
From: György Kurucz <me@...uczgy.com>
To: Leonard Lausen <leonard@...sen.nl>,
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
Rob Clark <robdclark@...il.com>, Abhinav Kumar <quic_abhinavk@...cinc.com>,
Sean Paul <sean@...rly.run>, Marijn Suijten <marijn.suijten@...ainline.org>,
David Airlie <airlied@...il.com>, Daniel Vetter <daniel@...ll.ch>
Cc: linux-arm-msm@...r.kernel.org, dri-devel@...ts.freedesktop.org,
freedreno@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
Jeykumar Sankaran <jsanka@...eaurora.org>, stable@...r.kernel.org
Subject: Re: [v2,1/2] drm/msm/dpu1: don't choke on disabling the writeback
connector
Dear Leonard,
> Do you observe this issue on every suspend-resume cycle?
I just did 10 suspend/resume cycles in a row to double check, and
without this patch the screen never comes back (always have to switch VT
back-and-forth to bring it back). The
[dpu error]connector not connected 3
[drm:drm_mode_config_helper_resume] *ERROR* Failed to resume (-22)
pair of error messages also consistently appears after all resumes.
Though I think e.g. Rob Clark reported that suspend/resume already works
properly for him without this patch, so this experience is not universal
on the Yoga Slim 7x.
> On sc7180 lazor, I do observe that this patch deterministically breaks restoring the CRTC state and functionality after resume. Can you please validate if you observe the same on Lenovo Yoga Slim 7x? Specifically, try set Night Light in your desktop environment to "Always On" and observe whether the screen remains in "Night Light" mode after resume. For lazor, "Night Light" is breaks after applying this patch and even manually toggling it off and on after resume does not restore "Night Light" / CRTC functionality.
Unfortunately I cannot test this, as color temperature adjustments seems
to be completely non-functional for me in the first place. For color
temperature adjustment, I use gammastep on my machines, which uses
wlr_gamma_control_unstable_v1 under the hood. It outputs the following
warnings:
Warning: Zero outputs support gamma adjustment.
Warning: 1/1 output(s) do not support gamma adjustment.
I haven't dug deeper into the cause yet, based on these it seems that
wlroots isn't detecting the display as being gamma-adjustable in the
first place.
Best regards,
György
Powered by blists - more mailing lists