projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/etnaviv: fix crash in GPU suspend when init failed due to buffer placement
[platform/kernel/linux-rpi.git]
/
drivers
/
gpu
/
drm
/
etnaviv
/
etnaviv_gpu.c
diff --git
a/drivers/gpu/drm/etnaviv/etnaviv_gpu.c
b/drivers/gpu/drm/etnaviv/etnaviv_gpu.c
index
18c2224
..
ab8dfe7
100644
(file)
--- a/
drivers/gpu/drm/etnaviv/etnaviv_gpu.c
+++ b/
drivers/gpu/drm/etnaviv/etnaviv_gpu.c
@@
-799,6
+799,7
@@
int etnaviv_gpu_init(struct etnaviv_gpu *gpu)
free_buffer:
etnaviv_cmdbuf_free(&gpu->buffer);
+ gpu->buffer.suballoc = NULL;
destroy_iommu:
etnaviv_iommu_destroy(gpu->mmu);
gpu->mmu = NULL;