public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* wait_event_timeout() usage in decon_wait_for_vblank()
@ 2025-01-31 16:55 Bjorn Helgaas
  2025-02-02  4:02 ` Inki Dae
  0 siblings, 1 reply; 3+ messages in thread
From: Bjorn Helgaas @ 2025-01-31 16:55 UTC (permalink / raw)
  To: Inki Dae, Seung-Woo Kim, Kyungmin Park
  Cc: Krzysztof Kozlowski, Alim Akhtar, dri-devel, linux-arm-kernel,
	linux-samsung-soc, linux-kernel

I don't know this code at all, so this is likely just noise, but the
wait_event_timeout() usage in decon_wait_for_vblank() looks funny to
me.

decon_wait_for_vblank() waits on wait_vsync_queue for wait_vsync_event
to be cleared.

But decon_irq_handler() only clears wait_vsync_event and wakes up
wait_vsync_queue when !ctx->i80_if.

I don't see any i80_if connection in decon_wait_for_vblank().  Does
the wait always time out if i80_if is set?  Is there some reason we
don't use decon_wait_for_vblank() at all if i80_if is set?

Bjorn


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-02-03 16:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-31 16:55 wait_event_timeout() usage in decon_wait_for_vblank() Bjorn Helgaas
2025-02-02  4:02 ` Inki Dae
2025-02-03 15:59   ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox