summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/igt-gpu-tools
Commit message (Collapse)AuthorAgeFilesLines
* igt-gpu-tools: fix build error with gcc9Anuj Mittal2019-06-012-1/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport from master to fix build error when building with gcc 9: | ../../igt-gpu-tools-1.23/lib/igt_fb.c: In function 'create_bo_for_fb': | ../../igt-gpu-tools-1.23/lib/igt_fb.c:413:16: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] | 413 | memset(ptr + offsets[0], full_range ? 0x00 : 0x10, | | ^ | ../../igt-gpu-tools-1.23/lib/igt_fb.c:415:16: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] | 415 | memset(ptr + offsets[1], 0x80, | | ^ | ../../igt-gpu-tools-1.23/lib/igt_fb.c: In function 'convert_rgb24_to_nv12': | ../../igt-gpu-tools-1.23/lib/igt_fb.c:1382:12: error: array subscript 2 is outside array bounds of 'struct igt_vec4[2]' [-Werror=array-bounds] | 1382 | rgb->d[0] = rgb24[2]; | | ~~~~~~~~~~^~~~~~~~~~ | ../../igt-gpu-tools-1.23/lib/igt_fb.c:1549:20: note: while referencing 'rgb' | 1549 | struct igt_vec4 rgb[2]; | | ^~~ | ../../igt-gpu-tools-1.23/lib/igt_fb.c:1383:12: error: array subscript 2 is outside array bounds of 'struct igt_vec4[2]' [-Werror=array-bounds] | 1383 | rgb->d[1] = rgb24[1]; | | ~~~~~~~~~~^~~~~~~~~~ | ../../igt-gpu-tools-1.23/lib/igt_fb.c:1549:20: note: while referencing 'rgb' | 1549 | struct igt_vec4 rgb[2]; | | ^~~ | ../../igt-gpu-tools-1.23/lib/igt_fb.c:1384:12: error: array subscript 2 is outside array bounds of 'struct igt_vec4[2]' [-Werror=array-bounds] Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* igt-gpu-tools: fix packagingAnuj Mittal2018-09-271-0/+42
Make sure new project name is used to ensure files are packaged correctly. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>