summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
diff options
context:
space:
mode:
authorArunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>2024-05-14 17:56:36 +0300
committerDave Airlie <airlied@redhat.com>2024-05-16 05:50:14 +0300
commit431c590c3ab0469dfedad3a832fe73556396ee52 (patch)
tree228c725645d89f1f3b89d11ab54cf41d1f06f335 /drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
parentbb21700baf7bc7ff9db8085fb0f097e8f8bcc0c5 (diff)
downloadlinux-431c590c3ab0469dfedad3a832fe73556396ee52.tar.xz
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 'drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c')
0 files changed, 0 insertions, 0 deletions