https://bugs.freedesktop.org/show_bug.cgi?id=101499
--- Comment #17 from Carlo Caione carlo@caione.org --- Created attachment 132130 --> https://bugs.freedesktop.org/attachment.cgi?id=132130&action=edit dm_plane_helper_prepare_fb with AMDGPU_GEM_DOMAIN_GTT
Right, sorry, with DC you need to tweak dm_plane_helper_prepare_fb instead.
Yup, I tried this but not much luck. In attachment what I get when using AMDGPU_GEM_DOMAIN_GTT. Using AMDGPU_GEM_DOMAIN_GTT | AMDGPU_GEM_DOMAIN_VRAM is pretty much the same but the cursor is correctly displayed (even though I cannot move it).
The log is filled with:
[drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer
/me scratch his head