]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drm/i915: enable IPS for bpp <= 24
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 25 Jul 2013 17:06:50 +0000 (10:06 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 5 Aug 2013 17:04:02 +0000 (19:04 +0200)
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 <jbarnes@virtuousgeek.org>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c

index d82e225294a695993c44840abb41dc10effec15c..dc7ad2a4a14dbf7f8869e453c4539a696fdc9035 100644 (file)
@@ -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,