Skip to content

drm/lima: implement the file flush callback

Erico Nunes dri-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1drm/lima: implement the file flush callbackdrivers/gpu/drm/lima/lima_ctx.c drivers/gpu/drm/lima/lima_ctx.h drivers/gpu/drm/lima/lima_drv.c+35 -17 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchChristian König
1/1R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/1] drm/lima: implement the file flush callback

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/[email protected]/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(-)
Signature · 1 line
2.49.0