Thread (2 messages) 2 messages, 2 authors, 6d ago

Re: [PATCH] fbdev: via: return an error when DMA copy times out

From: Helge Deller <deller@gmx.de>
Date: 2026-06-25 16:36:19
Also in: dri-devel, lkml

On 6/24/26 16:43, Pengpeng Hou wrote:
viafb_dma_copy_out_sg() logs a VIA DMA timeout when the DONE bit is not
set after the completion wait and grace delay, but still returns success
to the caller.

Preserve the existing cleanup sequence and return -ETIMEDOUT when the DMA
engine did not report completion.

Signed-off-by: Pengpeng Hou <redacted>
---
  drivers/video/fbdev/via/via-core.c | 7 +++++--
  1 file changed, 5 insertions(+), 2 deletions(-)
Note that the return value isn't checked by the caller.
Nevertheless, it's a cleanup, so I applied it.

Thanks!
Helge
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help