drm/i915: Always use cpp==4 for FW_BLC_SELF on 915GM/945GM
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 29 Jul 2016 14:57:01 +0000 (17:57 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 2 Aug 2016 13:21:48 +0000 (16:21 +0300)
commit2d1b50564734619487745fe14dc2999b1f4a15d2
tree26cd34d447c4a5e38c226c5337925d95bed76fe6
parenta930acd91f46ad4ae15d14a8c018bb9356ef3be6
drm/i915: Always use cpp==4 for FW_BLC_SELF on 915GM/945GM

Bspec says:
"FW_BLC_SELF
 ...
 Programming Note [DevALV] and [DevCST]: When calculating watermark
 values for 15/16bpp, assume 32bpp for purposes of calculation using
 the high priority bandwidth analysis spreadsheet."

Let's do that.

Perhaps this might even help with the problem that resulted in
commit 2ab1bc9df01d ("drm/i915: Disable self-refresh for untiled fbs on i915gm")

Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1469804222-12650-1-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_pm.c