[Bug 111306] gbm creates BO with wrong pitch when dri3_get_modifiers returns modifiers, causing drmModeAddFB2WithModifiers to fail
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Aug 8 13:31:22 UTC 2019
https://bugs.freedesktop.org/show_bug.cgi?id=111306
--- Comment #18 from Hans de Goede <jwrdegoede at fedoraproject.org> ---
(In reply to Lionel Landwerlin from comment #16)
> (In reply to Lionel Landwerlin from comment #15)
> >
> > if (!(mod->formats & (1 << (i - mod->offset))))
> > continue;
>
> That 1 << with a 64 bit integer, I'm not sure that's 100% right...
Uh, no that is 100% wrong, good catch. Maybe you have more then 32 formats and
you are hitting this? In that case changing the 1 to 1LL should fix this.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20190808/b766fdcd/attachment.html>
More information about the intel-3d-bugs
mailing list