summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/dispnv50/dac507d.c
diff options
context:
space:
mode:
authorArunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>2024-05-14 20:26:36 +0530
committerDave Airlie <airlied@redhat.com>2024-05-16 12:50:14 +1000
commit431c590c3ab0469dfedad3a832fe73556396ee52 (patch)
tree228c725645d89f1f3b89d11ab54cf41d1f06f335 /drivers/gpu/drm/nouveau/dispnv50/dac507d.c
parentbb21700baf7bc7ff9db8085fb0f097e8f8bcc0c5 (diff)
drm/tests: Add a unit test for range bias allocationHEADdrm-next-2024-05-16drm-next
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 'drivers/gpu/drm/nouveau/dispnv50/dac507d.c')
0 files changed, 0 insertions, 0 deletions