Lines Matching refs:snoop

1970 	list_init(&kgem->snoop);
2556 assert(!bo->snoop || bo->rq == NULL);
2622 assert(!bo->snoop);
2670 assert(!bo->snoop);
2770 assert(!bo->snoop);
2818 DBG(("%s: moving %d to snoop cachee\n", __FUNCTION__, bo->handle));
2819 list_add(&bo->list, &kgem->snoop);
2833 } else if (bo->snoop) {
2856 if (list_is_empty(&kgem->snoop)) {
2864 list_for_each_entry(bo, &kgem->snoop, list) {
2866 assert(bo->snoop);
2887 DBG((" %s: found handle=%d (num_pages=%d) in snoop cache\n",
2897 DBG((" %s: found handle=%d (num_pages=%d) in snoop cache\n",
2993 if (bo->snoop && !bo->flush) {
3022 assert(bo->snoop == false);
3432 DBG(("%s: release handle=%d (proxy? %d), dirty? %d flush? %d, snoop? %d -> offset=%x\n",
3434 bo->gpu_dirty, bo->needs_flush, bo->snoop,
3446 assert(!bo->snoop);
3570 (kgem->has_llc || bo->mmapped == MMAPPED_GTT || bo->base.snoop)) {
4227 found ? found->snoop : -1,
4401 list_for_each_entry(bo, &kgem->snoop, list) {
4411 while (!list_is_empty(&kgem->snoop)) {
4412 bo = list_last_entry(&kgem->snoop, struct kgem_bo, list);
4424 list_for_each_entry(bo, &kgem->snoop, list)
4426 DBG(("%s: still allocated %d bo, %ld bytes, in snoop cache\n",
4555 while (!list_is_empty(&kgem->snoop))
4557 list_last_entry(&kgem->snoop,
4939 bo->snoop = true;
6083 assert(bo->snoop);
6103 bo->snoop = true;
6675 assert(!bo->snoop || kgem->can_blt_cpu);
6748 assert(!bo->snoop || kgem->can_blt_cpu);
6833 assert(!bo->snoop);
7074 bo->snoop = !kgem->has_llc;
7151 if (bo->rq == NULL && (kgem->has_llc || bo->snoop) && !write)
7190 assert(!bo->snoop);
7256 bo->snoop = target->snoop;
7357 assert(bo->base.snoop);
7450 bo->base.snoop = true;
7483 DBG(("%s: created snoop handle=%d for buffer\n",
7490 bo->base.snoop = true;
7542 !bo->base.snoop)) {
7571 assert(bo->mmapped == MMAPPED_GTT || kgem->has_llc || bo->base.snoop);
7573 if ((bo->write & ~flags) & KGEM_BUFFER_INPLACE && !bo->base.snoop) {
7720 assert(!old->snoop);
8007 offset, length, bo->base.snoop));
8018 assert(bo->mmapped == MMAPPED_GTT || bo->base.snoop || kgem->has_llc);
8218 assert(bo->snoop);
8225 bo->snoop = false;