0001
0002
0003
0004
0005
0006 #ifndef _G4X_DP_H_
0007 #define _G4X_DP_H_
0008
0009 #include <linux/types.h>
0010
0011 #include "i915_reg.h"
0012
0013 enum pipe;
0014 enum port;
0015 struct drm_i915_private;
0016 struct intel_crtc_state;
0017 struct intel_dp;
0018 struct intel_encoder;
0019
0020 const struct dpll *vlv_get_dpll(struct drm_i915_private *i915);
0021 enum pipe vlv_active_pipe(struct intel_dp *intel_dp);
0022 void g4x_dp_set_clock(struct intel_encoder *encoder,
0023 struct intel_crtc_state *pipe_config);
0024 bool g4x_dp_port_enabled(struct drm_i915_private *dev_priv,
0025 i915_reg_t dp_reg, enum port port,
0026 enum pipe *pipe);
0027 bool g4x_dp_init(struct drm_i915_private *dev_priv,
0028 i915_reg_t output_reg, enum port port);
0029
0030 #endif