[Mesa-dev] [Bug 73946] scanout broken on radeon SI (OLAND)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 23 00:00:35 PST 2014


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

--- Comment #7 from David Herrmann <dh.herrmann at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140123/03959851/attachment.html>


More information about the mesa-dev mailing list