Lines Matching refs:snoop
1518 list_init(&kgem->snoop);
2085 assert(!bo->snoop || bo->rq == NULL);
2151 assert(!bo->snoop);
2194 assert(!bo->snoop);
2289 assert(!bo->snoop);
2336 DBG(("%s: moving %d to snoop cachee\n", __FUNCTION__, bo->handle));
2337 list_add(&bo->list, &kgem->snoop);
2351 } else if (bo->snoop) {
2375 if (list_is_empty(&kgem->snoop)) {
2383 list_for_each_entry(bo, &kgem->snoop, list) {
2385 assert(bo->snoop);
2406 DBG((" %s: found handle=%d (num_pages=%d) in snoop cache\n",
2416 DBG((" %s: found handle=%d (num_pages=%d) in snoop cache\n",
2504 if (bo->snoop && !bo->flush) {
2533 assert(bo->snoop == false);
2913 DBG(("%s: release handle=%d (proxy? %d), dirty? %d flush? %d, snoop? %d -> offset=%x\n",
2915 bo->gpu_dirty, bo->needs_flush, bo->snoop,
2927 assert(!bo->snoop);
3029 (kgem->has_llc || bo->mmapped == MMAPPED_GTT || bo->base.snoop)) {
3688 found ? found->snoop : -1,
3883 list_for_each_entry(bo, &kgem->snoop, list) {
3892 while (!list_is_empty(&kgem->snoop)) {
3893 bo = list_last_entry(&kgem->snoop, struct kgem_bo, list);
3905 list_for_each_entry(bo, &kgem->snoop, list)
3907 DBG(("%s: still allocated %d bo, %ld bytes, in snoop cache\n",
4040 while (!list_is_empty(&kgem->snoop))
4042 list_last_entry(&kgem->snoop,
4425 bo->snoop = true;
5514 assert(bo->snoop);
5534 bo->snoop = true;
6051 assert(!bo->snoop || kgem->can_blt_cpu);
6124 assert(!bo->snoop || kgem->can_blt_cpu);
6215 assert(!bo->snoop);
6434 bo->snoop = !kgem->has_llc;
6605 bo->snoop = target->snoop;
6706 assert(bo->base.snoop);
6799 bo->base.snoop = true;
6832 DBG(("%s: created snoop handle=%d for buffer\n",
6839 bo->base.snoop = true;
6891 !bo->base.snoop)) {
6920 assert(bo->mmapped == MMAPPED_GTT || kgem->has_llc || bo->base.snoop);
6922 if ((bo->write & ~flags) & KGEM_BUFFER_INPLACE && !bo->base.snoop) {
7069 assert(!old->snoop);
7356 offset, length, bo->base.snoop));
7367 assert(bo->mmapped == MMAPPED_GTT || bo->base.snoop || kgem->has_llc);
7563 assert(bo->snoop);
7570 bo->snoop = false;