Skip to content

Commit f3f90c6

Browse files
committed
drm/lima: fix wait pp reset timeout
PP bcast is marked as doing async reset after job is done. When resume after suspend, each PP is reset individually, so no need to reset in PP bcast resume. But I forgot to clear the PP bcast async reset mark so call into async wait before job run and gets timeout. Closes: https://gitlab.freedesktop.org/lima/linux/-/issues/34 Fixes: 3446d7e ("drm/lima: add resume/suspend callback for each ip") Reviewed-by: Erico Nunes <[email protected]> Signed-off-by: Qiang Yu <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent baa1841 commit f3f90c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/lima/lima_pp.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,8 @@ void lima_pp_fini(struct lima_ip *ip)
271271

272272
int lima_pp_bcast_resume(struct lima_ip *ip)
273273
{
274+
/* PP has been reset by individual PP resume */
275+
ip->data.async_reset = false;
274276
return 0;
275277
}
276278

0 commit comments

Comments
 (0)