From: Jani Nikula <jani.nikula@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: jani.nikula@intel.com
Subject: [Intel-gfx] [PATCH 3/3] drm/i915: define INTEL_VGA_DEVICE_INIT() for subplatform init
Date: Fri, 11 Mar 2022 12:18:54 +0200 [thread overview]
Message-ID: <20220311101854.146911-3-jani.nikula@intel.com> (raw)
In-Reply-To: <20220311101854.146911-1-jani.nikula@intel.com>
Redefine INTEL_VGA_DEVICE_INIT() instead of INTEL_VGA_DEVICE() for
subplatform init. This is only for completeness as we don't use
subplatforms for Quanta devices.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
drivers/gpu/drm/i915/intel_device_info.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_device_info.c b/drivers/gpu/drm/i915/intel_device_info.c
index 8d458226f478..62aba2fc7e45 100644
--- a/drivers/gpu/drm/i915/intel_device_info.c
+++ b/drivers/gpu/drm/i915/intel_device_info.c
@@ -127,8 +127,8 @@ void intel_device_info_print_runtime(const struct intel_runtime_info *info,
drm_printf(p, "rawclk rate: %u kHz\n", info->rawclk_freq);
}
-#undef INTEL_VGA_DEVICE
-#define INTEL_VGA_DEVICE(id, info) (id)
+#undef INTEL_VGA_DEVICE_INIT
+#define INTEL_VGA_DEVICE_INIT(__id, ...) (__id)
static const u16 subplatform_ult_ids[] = {
INTEL_HSW_ULT_GT1_IDS(0),
--
2.30.2
next prev parent reply other threads:[~2022-03-11 10:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-11 10:18 [Intel-gfx] [PATCH 1/3] drm/i915/pciids: add common INTEL_VGA_DEVICE_INIT macro Jani Nikula
2022-03-11 10:18 ` [Intel-gfx] [PATCH 2/3] drm/i915/pciids: use designated initializers for struct pci_device_id Jani Nikula
2022-03-11 10:18 ` Jani Nikula [this message]
2022-03-11 13:05 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [1/3] drm/i915/pciids: add common INTEL_VGA_DEVICE_INIT macro Patchwork
2022-03-11 13:38 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-03-11 16:12 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2023-01-16 12:18 [PATCH 0/3] drm/i915: Use designated initializers for struct pci_device_id init Jani Nikula
2023-01-16 12:18 ` [Intel-gfx] [PATCH 3/3] drm/i915: define INTEL_VGA_DEVICE_INIT() for subplatform init Jani Nikula
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=20220311101854.146911-3-jani.nikula@intel.com \
--to=jani.nikula@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.