Re: [PATCH i-g-t] tests/gem_tiled_fence_blits: split into subtests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 24, 2015 at 02:16:04PM +0000, tim.gore@xxxxxxxxx wrote:
> From: Tim Gore <tim.gore@xxxxxxxxx>
> 
> The gem_tiled_fence_blits test tends to get oom killed
> on low memory (< 4GB) Android systems. This is because the
> test tries to allocate (sysinfo.totalram * 9 / 10) in
> buffer objects and the remaining 10% of memory is not
> always enough for the Android system.
> As with a similar issue with gem_render_linear_blits,
> this problem is resolved by splitting into subtests.
> A "basic" subtest uses minimal memory buffers to test
> the basic operation, and a "normal" subtest which is
> skipped if there is insufficient memory.
> 
> I also took the opportunity to cull some numeric literals.
> 
> Signed-off-by: Tim Gore <tim.gore@xxxxxxxxx>

Looks good, thanks.
Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux