Searched hist:a3ecd97aa6aa444cc6c1b4c5b45d8d25068f19f6 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_dump.c | diff a3ecd97aa6aa444cc6c1b4c5b45d8d25068f19f6 Fri Jun 21 19:13:07 CEST 2024 Lucas Stach <l.stach@pengutronix.de> drm/etnaviv: switch devcoredump allocations to GFP_NOWAIT
The etnaviv devcoredump is created in the GPU reset path, which must make forward progress to avoid stalling memory reclaim on unsignalled dma fences. The currently used __GFP_NORETRY does not prohibit sleeping on direct reclaim, breaking the forward progress guarantee. Switch to GFP_NOWAIT, which allows background reclaim to be triggered, but avoids any stalls waiting for direct reclaim.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|