Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-xe] [PATCH v2 1/9] drm/i915/display: add I915 conditional build to g4x_hdmi.h
@ 2023-08-09 19:04 Jani Nikula
  2023-08-09 19:04 ` [Intel-xe] [PATCH v2 2/9] drm/i915/display: add I915 conditional build to intel_dvo.h Jani Nikula
                   ` (27 more replies)
  0 siblings, 28 replies; 32+ messages in thread
From: Jani Nikula @ 2023-08-09 19:04 UTC (permalink / raw)
  To: intel-xe; +Cc: jani.nikula, Rodrigo Vivi

Add stubs for !I915.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/i915/display/g4x_hdmi.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/drivers/gpu/drm/i915/display/g4x_hdmi.h b/drivers/gpu/drm/i915/display/g4x_hdmi.h
index 1e3ea7f3c846..817f55c7a3a1 100644
--- a/drivers/gpu/drm/i915/display/g4x_hdmi.h
+++ b/drivers/gpu/drm/i915/display/g4x_hdmi.h
@@ -15,9 +15,21 @@ struct drm_atomic_state;
 struct drm_connector;
 struct drm_i915_private;
 
+#ifdef I915
 void g4x_hdmi_init(struct drm_i915_private *dev_priv,
 		   i915_reg_t hdmi_reg, enum port port);
 int g4x_hdmi_connector_atomic_check(struct drm_connector *connector,
 				    struct drm_atomic_state *state);
+#else
+static inline void g4x_hdmi_init(struct drm_i915_private *dev_priv,
+				 i915_reg_t hdmi_reg, int port)
+{
+}
+static inline int g4x_hdmi_connector_atomic_check(struct drm_connector *connector,
+						  struct drm_atomic_state *state)
+{
+	return 0;
+}
+#endif
 
 #endif
-- 
2.39.2


^ permalink raw reply related	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2023-08-11  8:54 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-09 19:04 [Intel-xe] [PATCH v2 1/9] drm/i915/display: add I915 conditional build to g4x_hdmi.h Jani Nikula
2023-08-09 19:04 ` [Intel-xe] [PATCH v2 2/9] drm/i915/display: add I915 conditional build to intel_dvo.h Jani Nikula
2023-08-09 19:04 ` [Intel-xe] [PATCH v2 3/9] drm/i915/display: add I915 conditional build to intel_sdvo.h Jani Nikula
2023-08-09 19:04 ` [Intel-xe] [PATCH v2 4/9] drm/i915/display: add I915 conditional build to intel_tv.h Jani Nikula
2023-08-09 19:04 ` [Intel-xe] [PATCH v2 5/9] drm/i915/display: add I915 conditional build to vlv_dsi_pll.h Jani Nikula
2023-08-09 19:04 ` [Intel-xe] [PATCH v2 6/9] fixup! drm/xe/display: Implement display support Jani Nikula
2023-08-09 19:04 ` [Intel-xe] [PATCH v2 7/9] " Jani Nikula
2023-08-09 19:04 ` [Intel-xe] [PATCH v2 8/9] " Jani Nikula
2023-08-09 19:04 ` [Intel-xe] [PATCH v2 9/9] fixup! drm/i915/display: Remaining changes to make xe compile Jani Nikula
2023-08-09 19:07 ` [Intel-xe] ✓ CI.Patch_applied: success for series starting with [v2,1/9] drm/i915/display: add I915 conditional build to g4x_hdmi.h Patchwork
2023-08-09 19:07 ` [Intel-xe] ✗ CI.checkpatch: warning " Patchwork
2023-08-09 19:08 ` [Intel-xe] ✓ CI.KUnit: success " Patchwork
2023-08-09 19:12 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-08-09 19:13 ` [Intel-xe] ✓ CI.Hooks: " Patchwork
2023-08-09 19:13 ` [Intel-xe] ✗ CI.checksparse: warning " Patchwork
2023-08-09 20:00 ` [Intel-xe] ✗ CI.BAT: failure " Patchwork
2023-08-10 21:41   ` Rodrigo Vivi
2023-08-11  0:29     ` Rodrigo Vivi
2023-08-11  8:54       ` Jani Nikula
2023-08-10 13:28 ` [Intel-xe] ✓ CI.Patch_applied: success for series starting with [v2,1/9] drm/i915/display: add I915 conditional build to g4x_hdmi.h (rev2) Patchwork
2023-08-10 13:28 ` [Intel-xe] ✗ CI.checkpatch: warning " Patchwork
2023-08-10 13:29 ` [Intel-xe] ✓ CI.KUnit: success " Patchwork
2023-08-10 13:33 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-08-10 13:34 ` [Intel-xe] ✓ CI.Hooks: " Patchwork
2023-08-10 13:34 ` [Intel-xe] ✗ CI.checksparse: warning " Patchwork
2023-08-10 21:46 ` [Intel-xe] ✓ CI.Patch_applied: success for series starting with [v2,1/9] drm/i915/display: add I915 conditional build to g4x_hdmi.h (rev3) Patchwork
2023-08-10 21:46 ` [Intel-xe] ✗ CI.checkpatch: warning " Patchwork
2023-08-10 21:47 ` [Intel-xe] ✓ CI.KUnit: success " Patchwork
2023-08-10 21:51 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-08-10 21:52 ` [Intel-xe] ✓ CI.Hooks: " Patchwork
2023-08-10 21:52 ` [Intel-xe] ✗ CI.checksparse: warning " Patchwork
2023-08-10 22:29 ` [Intel-xe] ○ CI.BAT: info " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox