[PATCH i-g-t] tests/intel/kms_ccs: add missed include
Lucas De Marchi
lucas.demarchi at intel.com
Fri Feb 7 16:58:21 UTC 2025
On Fri, Feb 07, 2025 at 05:51:52PM +0200, Juha-Pekka Heikkila wrote:
>seems <fcntl.h> is needed for O_RDONLY flag on some platforms.
I found the error in gitlab and added to the commit message.
Here is an example: https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/jobs/70719166
>
>Fixes: https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/commit/d3602c12b73fc950da9ea575a95d8b923c7a27ec
Fixes should reference a git commit like this:
Fixes: d3602c12b73f ("tests/intel/kms_ccs: add hiberbate test")
Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>
and pushed. Thanks.
Lucas De Marchi
>Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
>---
> tests/intel/kms_ccs.c | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/tests/intel/kms_ccs.c b/tests/intel/kms_ccs.c
>index 8be3c063a..ad0ffe589 100644
>--- a/tests/intel/kms_ccs.c
>+++ b/tests/intel/kms_ccs.c
>@@ -33,6 +33,7 @@
> * Mega feature: E2E Compression
> * Test category: functionality test
> */
>+#include <fcntl.h>
>
> #include "igt.h"
> #include "igt_halffloat.h"
>--
>2.45.2
>
More information about the igt-dev
mailing list