https://bugs.freedesktop.org/show_bug.cgi?id=107545
--- Comment #11 from Julien Isorce julien.isorce@gmail.com --- I found time to go a bit further. Now I understand this radeon_cs_parser_init function a bit more
If I comment the AGP condition here https://cgit.freedesktop.org/~agd5f/linux/tree/drivers/gpu/drm/radeon/radeon... so that kdata is used then I can verify that the kdata contains the same data as user space.
But when writing to parser->ib.ptr here https://cgit.freedesktop.org/~agd5f/linux/tree/drivers/gpu/drm/radeon/radeon... then comparing parser->ib.ptr's data and kdata shows the same difference as pointed in comment #5.
Could it be an issue with pcie (though is works with admgpu, well in fact it uses kdata on amdgpu) ? Is there anyway I can force a commit/flush just after it writes to parser->ib.ptr as a test even if it is slower ? thx!