https://bugs.freedesktop.org/show_bug.cgi?id=73946

--- Comment #7 from David Herrmann <dh.herrm...@gmail.com> ---
@Michel, any idea how to fix that?
The scanout buffers are created via gbm and this falls back to mesa
dri->image->createImage() with __DRI_IMAGE_SCANOUT set. So I guess the radeonsi
driver uses wrong tiling for such buffers? The DRM device node is stored in
dri->screen so the driver should be able to query all required context
information, right?

Could you tell me at which point exactly you added the PIPE_BIND_SCANOUT flag?
I can try adding some ctx-queries there so we set it correctly if used for DRM
scanout. In case this flag is needed during pipe-creation, not at buffer-alloc
time, we should probably set this flag unconditionally for gbm created pipes.
Just thinking out loud.. I have no idea how the radeon hw really works..

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to