diff options
author | Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com> | 2024-05-14 20:26:36 +0530 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2024-05-16 12:50:14 +1000 |
commit | 431c590c3ab0469dfedad3a832fe73556396ee52 (patch) | |
tree | 228c725645d89f1f3b89d11ab54cf41d1f06f335 /mm/Kconfig.debug | |
parent | bb21700baf7bc7ff9db8085fb0f097e8f8bcc0c5 (diff) |
drm/tests: Add a unit test for range bias allocation
Allocate cleared blocks in the bias range when the DRM
buddy's clear avail is zero. This will validate the bias
range allocation in scenarios like system boot when no
cleared blocks are available and exercise the fallback
path too. The resulting blocks should always be dirty.
v1:(Matthew)
- move the size to the variable declaration section.
- move the mm.clear_avail init to allocator init.
Signed-off-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240514145636.16253-2-Arunpravin.PaneerSelvam@amd.com
Diffstat (limited to 'mm/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions