diff options
author | 2014-02-11 15:28:57 -0800 | |
---|---|---|
committer | 2014-02-12 18:53:16 +0100 | |
commit | f6a8328898291a2dd0709acd08c039ccaac19554 (patch) | |
tree | a9beb63e080acf4cc2e9b57324524231adc4b285 /drivers/gpu/drm/i915/intel_drv.h | |
parent | drm/i915: read out hw state earlier v2 (diff) | |
download | linux-f6a8328898291a2dd0709acd08c039ccaac19554.tar.gz linux-f6a8328898291a2dd0709acd08c039ccaac19554.tar.bz2 linux-f6a8328898291a2dd0709acd08c039ccaac19554.zip |
drm/i915: Pass explicit mode into mode_from_pipe_config v3
We want to reuse this in the fbdev initial config code independently
from any fastboot hacks. So allow a bit more flexibility.
v2: Forgot to git add ...
v3: make non-static (Jesse)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index 3599d93caad4..bff5d0a3f584 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h @@ -726,6 +726,8 @@ void hsw_enable_ips(struct intel_crtc *crtc); void hsw_disable_ips(struct intel_crtc *crtc); void intel_display_set_init_power(struct drm_device *dev, bool enable); int valleyview_get_vco(struct drm_i915_private *dev_priv); +void intel_mode_from_pipe_config(struct drm_display_mode *mode, + struct intel_crtc_config *pipe_config); /* intel_dp.c */ void intel_dp_init(struct drm_device *dev, int output_reg, enum port port); |