]> git.baikalelectronics.ru Git - kernel.git/commit
drm/lima: fix wait pp reset timeout
authorQiang Yu <yuq825@gmail.com>
Sun, 19 Jul 2020 07:30:50 +0000 (15:30 +0800)
committerQiang Yu <yuq825@gmail.com>
Mon, 20 Jul 2020 00:46:06 +0000 (08:46 +0800)
commit1a495ec2d10d41999ad18dae72a108db3d6610ae
tree670394334f2c840b8ef2cf3ff249b01e97b3a925
parent7775b389c324bc4447fd18388b3737f469e9fab9
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: 04670b89eca0 ("drm/lima: add resume/suspend callback for each ip")
Reviewed-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200719073050.776962-1-yuq825@gmail.com
drivers/gpu/drm/lima/lima_pp.c