mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/1] drm/lima: implement the file flush callback
@ 2025-04-08 15:46 Erico Nunes
  2025-04-08 15:46 ` [PATCH 1/1] " Erico Nunes
  0 siblings, 1 reply; 9+ messages in thread
From: Erico Nunes @ 2025-04-08 15:46 UTC (permalink / raw)
  To: Qiang Yu
  Cc: christian.koenig, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, dri-devel, lima,
	linux-kernel, Erico Nunes

This prevents a user bug in lima reported in [1].
I'm not sure this is the entire bug fix, but Christian had also
suggested we implement this callback in a previous review [2].
I took the amdgpu implementation as a base for this.

I noticed that most other drivers don't implement this though, in
particular the other ones for embedded GPUs. Should they, or does
this indicate that we have a different bug to be fixed in lima?

[1] https://gitlab.freedesktop.org/mesa/mesa/-/issues/12007
[2] https://lore.kernel.org/all/20230606143247.433018-1-nunes.erico@gmail.com/T/#mf5c7a2492201c8ec82bee47eb5615714d5c5aac2

Erico Nunes (1):
  drm/lima: implement the file flush callback

 drivers/gpu/drm/lima/lima_ctx.c | 18 ++++++++++++++++++
 drivers/gpu/drm/lima/lima_ctx.h |  1 +
 drivers/gpu/drm/lima/lima_drv.c | 17 ++++++++++++++++-
 3 files changed, 35 insertions(+), 1 deletion(-)

-- 
2.49.0


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

end of thread, other threads:[~2025-04-16  1:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-08 15:46 [PATCH 0/1] drm/lima: implement the file flush callback Erico Nunes
2025-04-08 15:46 ` [PATCH 1/1] " Erico Nunes
2025-04-08 17:40   ` Christian König
2025-04-10  9:33   ` Qiang Yu
2025-04-10 12:35     ` Christian König
2025-04-10 13:56       ` Qiang Yu
2025-04-10 14:04         ` Christian König
2025-04-14 13:19           ` Erico Nunes
2025-04-16  1:53             ` Qiang Yu

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

all inboxes | Powered by JetHome®