diff options
| author | Arunpravin Paneer Selvam <[email protected]> | 2024-05-14 14:56:35 +0000 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2024-05-16 02:50:04 +0000 |
| commit | bb21700baf7bc7ff9db8085fb0f097e8f8bcc0c5 (patch) | |
| tree | 80a296a7df8ea396a87656f31c5e19717171af8b /arch/powerpc/lib/code-patching.c | |
| parent | Merge tag 'drm-xe-next-fixes-2024-05-09-1' of https://gitlab.freedesktop.org/... (diff) | |
| download | kernel-bb21700baf7bc7ff9db8085fb0f097e8f8bcc0c5.tar.gz kernel-bb21700baf7bc7ff9db8085fb0f097e8f8bcc0c5.zip | |
drm/buddy: Fix the range bias clear memory allocation issue
Problem statement: During the system boot time, an application request
for the bulk volume of cleared range bias memory when the clear_avail
is zero, we dont fallback into normal allocation method as we had an
unnecessary clear_avail check which prevents the fallback method leads
to fb allocation failure following system goes into unresponsive state.
Solution: Remove the unnecessary clear_avail check in the range bias
allocation function.
v2: add a kunit for this corner case (Daniel Vetter)
Signed-off-by: Arunpravin Paneer Selvam <[email protected]>
Fixes: 96950929eb23 ("drm/buddy: Implement tracking clear page feature")
Reviewed-by: Matthew Auld <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
