etnaviv: *ERROR* relocation N outside object in kernel log
Wladimir J. van der Laan
laanwj at gmail.com
Tue Jul 25 07:47:32 UTC 2017
Lucas,
> My guess would be some stale relocation again, possibly with only a
> stale offset or something. But that's hard to track down.
I added some further debugging and it looks like the relocation points to
offset 000ffffc of a 00100000-sized bo.
Haven't found out which state this is for yet, but is there any specific reason
this would not be allowed, or is the check off-by-one here?
As a reminder, the code is:
if (r->reloc_offset >= bo->obj->base.size - sizeof(*ptr)) {
error...
}
Regards,
Wladimir
More information about the etnaviv
mailing list