<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [CI] igt@kms_available_modes_crc@available_mode_test_crc - fail - Failed assertion: __gem_create(fd, size, &handle) == 0"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106701#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [CI] igt@kms_available_modes_crc@available_mode_test_crc - fail - Failed assertion: __gem_create(fd, size, &handle) == 0"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106701">bug 106701</a>
from <span class="vcard"><a class="email" href="mailto:juhapekka.heikkila@gmail.com" title="Juha-Pekka Heikkilä <juhapekka.heikkila@gmail.com>"> <span class="fn">Juha-Pekka Heikkilä</span></a>
</span></b>
<pre>I think problem part is this piece of code in kms_available_modes_crc.c,
setup_fb():
switch (fillers[i].bpp) {
case NV12:
case BYTES_PP_1:
bpp = 8;
break;
case P010:
case BYTES_PP_2:
bpp = 16;
break;
case SKIP4:
case BYTES_PP_4:
bpp = 32;
break;
}
it's missing default case and leave 'bpp' to zero. To me it look like correct
fix is to change in table 'fillers' last element from
{ 0, 0, 0, 0 }
to
{ 0, 0, SKIP4, 0 }
I think this change will fix bug that would follow from creating default case.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>