aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_display.c
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2013-05-31 15:33:23 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-05-31 15:40:08 -0400
commit3c4ca58c12a3bf71433425df534dfbb85d8a5dc5 (patch)
tree9abab8615571f4a7ba90ac273a386cd162c81f40 /drivers/gpu/drm/i915/intel_display.c
parent42db64efcd95014570835c7b0a08277c60486f07 (diff)
drm/i915: add enable_ips module option
IPS is still enabled by default. Feature requested by the power management team. This should also help testing the feature on some early pre-production hardware where there were relationship problems between IPS and PSR. v2: Rebase on top of the newest IPS implementation. v3: Check i915_enable_ips at compute_config, not supports_ips, so the kernel parameter will be ignored at haswell_get_pipe_config. Requested-by: Kristen Accardi <kristen.c.accardi@intel.com> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r--drivers/gpu/drm/i915/intel_display.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index acfc6a164a59..c112466bb769 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -4034,7 +4034,8 @@ retry:
4034static void hsw_compute_ips_config(struct intel_crtc *crtc, 4034static void hsw_compute_ips_config(struct intel_crtc *crtc,
4035 struct intel_crtc_config *pipe_config) 4035 struct intel_crtc_config *pipe_config)
4036{ 4036{
4037 pipe_config->ips_enabled = hsw_crtc_supports_ips(crtc) && 4037 pipe_config->ips_enabled = i915_enable_ips &&
4038 hsw_crtc_supports_ips(crtc) &&
4038 pipe_config->pipe_bpp == 24; 4039 pipe_config->pipe_bpp == 24;
4039} 4040}
4040 4041