[igt-dev] [PATCH i-g-t] lib/igt_fb: add missing include in header

Swati Sharma swati2.sharma at intel.com
Fri Jan 20 17:26:17 UTC 2023


Hi Kamil,

Thanks for the patch.
Getting following error while build.
WARNING: custom_target 'i915-perf-metrics-mtlgt3' has more than one 
output! Using the first one.

Can you check once?

On 20-Jan-23 10:30 PM, Kamil Konieczny wrote:
> Direct include of lib igt_fb header breaks builds with errors
> 
> xf86drmMode.h:533:2: error: unknown type name ‘uint32_t’
> 
> Fixed it with adding proper include in header.
> 
> Cc: Swati Sharma <swati2.sharma at intel.com>
> Cc: Petri Latvala <petri.latvala at intel.com>
> Signed-off-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
> 
> ---
> Maybe it is worth to put this patch as first, together with
> https://patchwork.freedesktop.org/series/113045/
> tests/i915/kms_dsc: Reorg
> so it can be tested in CI.

 >> Sure, I'll float the series.

> ---
>   lib/igt_fb.h | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/lib/igt_fb.h b/lib/igt_fb.h
> index 6995b14b..73bdfc86 100644
> --- a/lib/igt_fb.h
> +++ b/lib/igt_fb.h
> @@ -32,6 +32,7 @@
>   #include <cairo.h>
>   #include <stddef.h>
>   #include <stdbool.h>
> +#include <stdint.h>
>   #include <drm_fourcc.h>
>   #include <xf86drmMode.h>
>   

-- 
~Swati Sharma


More information about the igt-dev mailing list