Commit 9543cc39 authored by Jani Nikula's avatar Jani Nikula
parent 7a494684
...@@ -15,9 +15,21 @@ struct drm_atomic_state; ...@@ -15,9 +15,21 @@ struct drm_atomic_state;
struct drm_connector; struct drm_connector;
struct drm_i915_private; struct drm_i915_private;
#ifdef I915
void g4x_hdmi_init(struct drm_i915_private *dev_priv, void g4x_hdmi_init(struct drm_i915_private *dev_priv,
i915_reg_t hdmi_reg, enum port port); i915_reg_t hdmi_reg, enum port port);
int g4x_hdmi_connector_atomic_check(struct drm_connector *connector, int g4x_hdmi_connector_atomic_check(struct drm_connector *connector,
struct drm_atomic_state *state); 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 #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment