Searched refs:KSYNCMAP (Results 1 - 3 of 3) sorted by relevance

/linux-master/drivers/gpu/drm/i915/
H A Di915_syncmap.h31 #define KSYNCMAP 16 /* radix of the tree, how many slots in each layer */ macro
H A Di915_syncmap.c32 #define SHIFT ilog2(KSYNCMAP)
33 #define MASK (KSYNCMAP - 1)
90 BUILD_BUG_ON_NOT_POWER_OF_2(KSYNCMAP);
92 BUILD_BUG_ON(KSYNCMAP > BITS_PER_TYPE((*root)->bitmap));
200 p = kmalloc(struct_size(p, seqno, KSYNCMAP), GFP_KERNEL);
258 * Each layer in the tree holds 16 (KSYNCMAP) pointers, either fences
282 next = kzalloc(struct_size(next, child, KSYNCMAP),
/linux-master/drivers/gpu/drm/i915/selftests/
H A Di915_syncmap.c62 for_each_set_bit(i, (unsigned long *)&p->bitmap, KSYNCMAP) {
77 for_each_set_bit(i, (unsigned long *)&p->bitmap, KSYNCMAP) {
344 for (step = 0; step < KSYNCMAP; step++) {
361 for (step = 0; step < KSYNCMAP; step++) {
372 for (idx = 1; idx < KSYNCMAP; idx++) {
384 for (step = 0; step < KSYNCMAP; step++) {
408 * Each leaf holds KSYNCMAP seqno. Check that when we create KSYNCMAP
420 for (idx = 0; idx < KSYNCMAP; idx++) {
468 for (idx = 0; idx < KSYNCMAP; id
[all...]

Completed in 112 milliseconds