OSDN Git Service

drm/lima: recover task by enlarging heap buffer
authorQiang Yu <yuq825@gmail.com>
Thu, 16 Jan 2020 13:11:56 +0000 (21:11 +0800)
committerQiang Yu <yuq825@gmail.com>
Mon, 27 Jan 2020 14:01:15 +0000 (22:01 +0800)
commit2081e8dcf1ee7170c67c0891da5487ac7091d2df
tree9484b5fd71f566361ec48fdefcae2a7053feff8c
parent6aebc51d7aeff5a30d86485f320f0c871b5f23a4
drm/lima: recover task by enlarging heap buffer

Increase heap buffer backup memory when GP receive PLBU
out of memory interrupt, then resume the task.

Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Tested-by: Andreas Baierl <ichgeh@imkreisrum.de>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200116131157.13346-5-yuq825@gmail.com
drivers/gpu/drm/lima/lima_gp.c
drivers/gpu/drm/lima/lima_mmu.c
drivers/gpu/drm/lima/lima_mmu.h
drivers/gpu/drm/lima/lima_sched.c
drivers/gpu/drm/lima/lima_sched.h