diff options
author | Qiang Yu <yuq825@gmail.com> | 2020-01-16 21:11:56 +0800 |
---|---|---|
committer | Qiang Yu <yuq825@gmail.com> | 2020-01-27 22:01:15 +0800 |
commit | 2081e8dcf1ee7170c67c0891da5487ac7091d2df (patch) | |
tree | 9484b5fd71f566361ec48fdefcae2a7053feff8c /drivers/gpu/drm/lima/lima_mmu.h | |
parent | 6aebc51d7aeff5a30d86485f320f0c871b5f23a4 (diff) | |
download | lwn-2081e8dcf1ee7170c67c0891da5487ac7091d2df.tar.gz lwn-2081e8dcf1ee7170c67c0891da5487ac7091d2df.zip |
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
Diffstat (limited to 'drivers/gpu/drm/lima/lima_mmu.h')
-rw-r--r-- | drivers/gpu/drm/lima/lima_mmu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/lima/lima_mmu.h b/drivers/gpu/drm/lima/lima_mmu.h index 8c78319bcc8e..4f8ccbebcba1 100644 --- a/drivers/gpu/drm/lima/lima_mmu.h +++ b/drivers/gpu/drm/lima/lima_mmu.h @@ -10,6 +10,7 @@ struct lima_vm; int lima_mmu_init(struct lima_ip *ip); void lima_mmu_fini(struct lima_ip *ip); +void lima_mmu_flush_tlb(struct lima_ip *ip); void lima_mmu_switch_vm(struct lima_ip *ip, struct lima_vm *vm); void lima_mmu_page_fault_resume(struct lima_ip *ip); |