From: Jani Nikula <jani.nikula@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: jani.nikula@intel.com, Rodrigo Vivi <rodrigo.vivi@intel.com>
Subject: [Intel-xe] [PATCH v2 5/9] drm/i915/display: add I915 conditional build to vlv_dsi_pll.h
Date: Wed, 9 Aug 2023 22:04:49 +0300 [thread overview]
Message-ID: <20230809190453.1927134-5-jani.nikula@intel.com> (raw)
In-Reply-To: <20230809190453.1927134-1-jani.nikula@intel.com>
Add stubs for !I915. Not all the functions need to be stubbed.
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
drivers/gpu/drm/i915/display/vlv_dsi_pll.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/vlv_dsi_pll.h b/drivers/gpu/drm/i915/display/vlv_dsi_pll.h
index ab9291ad1e79..fbe5113dbeb9 100644
--- a/drivers/gpu/drm/i915/display/vlv_dsi_pll.h
+++ b/drivers/gpu/drm/i915/display/vlv_dsi_pll.h
@@ -32,7 +32,16 @@ u32 bxt_dsi_get_pclk(struct intel_encoder *encoder,
struct intel_crtc_state *config);
void bxt_dsi_reset_clocks(struct intel_encoder *encoder, enum port port);
+#ifdef I915
void assert_dsi_pll_enabled(struct drm_i915_private *i915);
void assert_dsi_pll_disabled(struct drm_i915_private *i915);
+#else
+static inline void assert_dsi_pll_enabled(struct drm_i915_private *i915)
+{
+}
+static inline void assert_dsi_pll_disabled(struct drm_i915_private *i915)
+{
+}
+#endif
#endif /* __VLV_DSI_PLL_H__ */
--
2.39.2
next prev parent reply other threads:[~2023-08-09 19:05 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Jani Nikula [this message]
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
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=20230809190453.1927134-5-jani.nikula@intel.com \
--to=jani.nikula@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=rodrigo.vivi@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