On Thu, May 2, 2024 at 10:09 PM Bruce Ashfield via lists.yoctoproject.org <bruce.ashfield=gmail....@lists.yoctoproject.org> wrote:
> > > On Thu, May 2, 2024 at 9:38 PM Kevin Hao <haoke...@gmail.com> wrote: > >> From: Kevin Hao <kexin....@windriver.com> >> >> There are no these changes in the v6.6.29. >> >> > I built and tested my changes. What issues are you seeing with them ? > > Ah yes. I see the double unlock now. I've applied the patch! Bruce > My resolution is based on the latest -rt kernel. > > Bruce > > > >> Signed-off-by: Kevin Hao <kexin....@windriver.com> >> --- >> drivers/gpu/drm/i915/display/intel_crtc.c | 7 ++----- >> 1 file changed, 2 insertions(+), 5 deletions(-) >> >> diff --git a/drivers/gpu/drm/i915/display/intel_crtc.c >> b/drivers/gpu/drm/i915/display/intel_crtc.c >> index 48300d05fffb..da2becfbc86c 100644 >> --- a/drivers/gpu/drm/i915/display/intel_crtc.c >> +++ b/drivers/gpu/drm/i915/display/intel_crtc.c >> @@ -684,7 +684,7 @@ void intel_pipe_update_end(struct intel_atomic_state >> *state, >> intel_psr_unlock(new_crtc_state); >> >> if (new_crtc_state->do_async_flip) >> - goto out; >> + return; >> >> trace_intel_pipe_update_end(crtc, end_vbl_count, scanline_end); >> >> @@ -736,7 +736,7 @@ void intel_pipe_update_end(struct intel_atomic_state >> *state, >> local_irq_enable(); >> >> if (intel_vgpu_active(dev_priv)) >> - goto out; >> + return; >> >> if (crtc->debug.start_vbl_count && >> crtc->debug.start_vbl_count != end_vbl_count) { >> @@ -751,7 +751,4 @@ void intel_pipe_update_end(struct intel_atomic_state >> *state, >> } >> >> dbg_vblank_evade(crtc, end_vbl_time); >> - >> -out: >> - intel_psr_unlock(new_crtc_state); >> } >> -- >> 2.44.0 >> >> > > -- > - Thou shalt not follow the NULL pointer, for chaos and madness await thee > at its end > - "Use the force Harry" - Gandalf, Star Trek II > > > > > -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13888): https://lists.yoctoproject.org/g/linux-yocto/message/13888 Mute This Topic: https://lists.yoctoproject.org/mt/105880611/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-