From 74fade43ee6563505b29484ac5cf8c860a766650 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Tue, 1 Oct 2013 10:46:35 -0700 Subject: Peppy/Haswell: move more support functions from mainboard to the intel i915 driver Move (and rename to make it clearer) the function that computes display parameters from the dpcd and edid. Change-Id: Idfbb56fd312b23c742c52abca1a34ae117a8fece Signed-off-by: Ronald G. Minnich Reviewed-on: https://chromium-review.googlesource.com/171366 Reviewed-by: Furquan Shaikh Reviewed-by: Ronald Minnich Tested-by: Ronald Minnich Commit-Queue: Ronald Minnich (cherry picked from commit 8f2b3bafee7cb05db8fae1c52fc9e1ee64e5e35d) Signed-off-by: Isaac Christensen Reviewed-on: http://review.coreboot.org/6768 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich Reviewed-by: Edward O'Callaghan --- src/drivers/intel/gma/i915.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/drivers/intel/gma/i915.h') diff --git a/src/drivers/intel/gma/i915.h b/src/drivers/intel/gma/i915.h index e8940a3b98..15a20095d4 100644 --- a/src/drivers/intel/gma/i915.h +++ b/src/drivers/intel/gma/i915.h @@ -242,6 +242,7 @@ enum transcoder intel_ddi_get_transcoder(enum port port, enum pipe pipe); void intel_dp_set_m_n_regs(struct intel_dp *intel_dp); +int intel_dp_bw_code_to_link_rate(u8 link_bw); void intel_dp_set_resolution(struct intel_dp *intel_dp); int intel_dp_i2c_write(struct intel_dp *intel_dp, @@ -278,3 +279,6 @@ u32 gtt_read(u32 reg); int i915lightup(unsigned int physbase, unsigned int mmio, unsigned int gfx, unsigned int init_fb); + +/* display.c */ +void compute_display_params(struct intel_dp *dp); -- cgit v1.2.3