meta-intel/recipes-graphics
Anuj Mittal 40d6871a07 igt-gpu-tools: fix build error with gcc9
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>
2019-06-01 14:52:55 +08:00
..
gmmlib gmmlib: upgrade 18.4.1 -> 19.1.2 2019-05-06 12:52:00 +08:00
igt-gpu-tools igt-gpu-tools: fix build error with gcc9 2019-06-01 14:52:55 +08:00
metrics-discovery metrics-discovery: Updates mesa util files 2019-04-04 11:06:15 +08:00
xorg-driver xf86-video-mga: remove recipe from meta-intel 2018-01-17 11:36:26 -08:00