From: Jesse Barnes Date: Thu, 25 Jul 2013 17:06:50 +0000 (-0700) Subject: drm/i915: enable IPS for bpp <= 24 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b6dfdc9b7f0d7859ea146b6c869aa2cfe6d713f3;p=linux-beck.git drm/i915: enable IPS for bpp <= 24 Art confirms that this should work fine. Since most panels are 18bpp with dithering from 24bpp, the existing code wouldn't be enabled in most cases. Signed-off-by: Jesse Barnes Reviewed-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index d82e225294a6..dc7ad2a4a14d 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -4091,7 +4091,7 @@ static void hsw_compute_ips_config(struct intel_crtc *crtc, { pipe_config->ips_enabled = i915_enable_ips && hsw_crtc_supports_ips(crtc) && - pipe_config->pipe_bpp == 24; + pipe_config->pipe_bpp <= 24; } static int intel_crtc_compute_config(struct intel_crtc *crtc,