[Bug 89164] AMD Kaveri: gbm_bo_get_stride returns wrong values for cursor buffers

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 19 01:02:21 PST 2015


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

--- Comment #2 from Andreas Pokorny <andreas.pokorny at gmail.com> ---
(In reply to Michel Dänzer from comment #1)
> You need to pass the dimensions queried from DRM_CAP_CURSOR_WIDTH and
> DRM_CAP_CURSOR_HEIGHT instead of hardcoding 64. As of CIK, Radeon hardware
> only supports 256x256 hardware cursors.

Yes, but since buffer creation with a smaller size does not fail,
gbm_bo_get_stride should return the right size.

-- 
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/dri-devel/attachments/20150219/f1e33c9b/attachment.html>


More information about the dri-devel mailing list