From: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: kamil.konieczny@linux.intel.com, karthik.b.s@intel.com,
ville.syrjala@linux.intel.com, jani.nikula@linux.intel.com,
Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Subject: [PATCH i-g-t 2/8] tools/intel_vbt_decode.c: Include linux_scaffold.h
Date: Mon, 27 Apr 2026 18:16:01 +0530 [thread overview]
Message-ID: <20260427124607.3115567-3-ankit.k.nautiyal@intel.com> (raw)
In-Reply-To: <20260427124607.3115567-1-ankit.k.nautiyal@intel.com>
linux_scaffold.h provides kernel compat macros including GENMASK and
BIT_U32, which will be needed by intel_vbt_defs.h in subsequent changes.
Include it in intel_vbt_decode.c and remove the now duplicate typedefs
for u8, u16, u32, and u64.
While at it, move drmtest.h in asciibetical order.
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Karthik B S <karthik.b.s@intel.com>
---
tools/intel_vbt_decode.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/tools/intel_vbt_decode.c b/tools/intel_vbt_decode.c
index d4aada743e42..7785e9e82b1f 100644
--- a/tools/intel_vbt_decode.c
+++ b/tools/intel_vbt_decode.c
@@ -38,17 +38,13 @@
#include <sys/stat.h>
#include <sys/types.h>
+#include "drmtest.h"
#include "igt_aux.h"
#include "igt_halffloat.h"
#include "intel_chipset.h"
#include "intel_io.h"
-#include "drmtest.h"
+#include "linux_scaffold.h"
-/* kernel types for intel_vbt_defs.h */
-typedef uint8_t u8;
-typedef uint16_t u16;
-typedef uint32_t u32;
-typedef uint64_t u64;
#define __packed __attribute__ ((packed))
#define _INTEL_BIOS_PRIVATE
--
2.45.2
next prev parent reply other threads:[~2026-04-27 13:01 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-27 12:45 [PATCH i-g-t 0/8] intel_vbt_decode: Sync intel_vbt_defs.h with latest changes Ankit Nautiyal
2026-04-27 12:46 ` [PATCH i-g-t 1/8] include/linux_scaffold: Add BIT_U{8,16,32} macros Ankit Nautiyal
2026-04-28 9:04 ` Karthik B S
2026-04-27 12:46 ` Ankit Nautiyal [this message]
2026-04-27 12:46 ` [PATCH i-g-t 3/8] tools/intel_vbt_defs: sync intel_vbt_defs.h with kernel commit 4d33c77cf2c3 Ankit Nautiyal
2026-04-27 12:46 ` [PATCH i-g-t 4/8] tools/intel_vbt_defs: sync intel_vbt_defs.h with kernel commit 203c7904f2d8 Ankit Nautiyal
2026-04-27 12:46 ` [PATCH i-g-t 5/8] tools/intel_vbt_defs: sync intel_vbt_defs.h with kernel commit 1b85a9b04681 Ankit Nautiyal
2026-04-27 14:41 ` Kamil Konieczny
2026-04-28 3:57 ` Nautiyal, Ankit K
2026-04-28 8:32 ` Kamil Konieczny
2026-04-27 12:46 ` [PATCH i-g-t 6/8] tools/intel_vbt_decode: dump eDP data rate override field Ankit Nautiyal
2026-04-27 12:46 ` [PATCH i-g-t 7/8] tools/intel_vbt_decode: dump eDP joiner enable field Ankit Nautiyal
2026-04-27 12:46 ` [PATCH i-g-t 8/8] tools/intel_vbt_decode: Dump dedicated_external and dyn_port_over_tc fields Ankit Nautiyal
2026-04-27 22:39 ` ✓ i915.CI.BAT: success for intel_vbt_decode: Sync intel_vbt_defs.h with latest changes (rev6) Patchwork
2026-04-27 23:42 ` ✓ Xe.CI.BAT: " Patchwork
2026-04-28 5:04 ` ✗ i915.CI.Full: failure " Patchwork
2026-04-28 6:10 ` ✗ Xe.CI.FULL: " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2026-04-22 3:43 [PATCH i-g-t 0/8] intel_vbt_decode: Sync intel_vbt_defs.h with latest changes Ankit Nautiyal
2026-04-22 3:43 ` [PATCH i-g-t 2/8] tools/intel_vbt_decode.c: Include linux_scaffold.h Ankit Nautiyal
2026-04-27 5:09 ` Karthik B S
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260427124607.3115567-3-ankit.k.nautiyal@intel.com \
--to=ankit.k.nautiyal@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=jani.nikula@linux.intel.com \
--cc=kamil.konieczny@linux.intel.com \
--cc=karthik.b.s@intel.com \
--cc=ville.syrjala@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox