Comment # 25
on bug 110781
from Richard Thier
In the assert problem this is the domain and flag meanings in case of only my hack is in place: domain(6) == RADEON_DOMAIN_GTT(2) | RADEON_DOMAIN_VRAM(4) flags(1) == RADEON_FLAG_GTT_WC (1 << 0) So I get -1 even if I "outcomment" this check in radeon_get_heap_index(..): /* Resources with interprocess sharing don't use any winsys allocators. if (!(flags & RADEON_FLAG_NO_INTERPROCESS_SHARING)) return -1;*/ There is a switch statement in this function where they switch based on the domain parameter: switch (domain) { case RADEON_DOMAIN_VRAM: ... case RADEON_DOMAIN_GTT: ... default: break; } return -1; I suspect we return -1 here because we go into the "default" case. I think that is right because domain is: 6 == 2 | 4 == GTT+VRAM at the same time. Maybe once it was meaningful to have both GTT (is that GART?) and VRAM at the same time being or-ed together but not anymore? I will try to add a hack to make the domain always just VRAM to see what happens... I know that is bad, but just for the analysis.
You are receiving this mail because:
- You are the assignee for the bug.
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel