drm/i915/chv: Use 16 and 32 for low and high drain latency precision.
authorRodrigo Vivi <[email protected]>
Fri, 17 Oct 2014 15:05:08 +0000 (08:05 -0700)
committerDaniel Vetter <[email protected]>
Fri, 24 Oct 2014 14:34:12 +0000 (16:34 +0200)
commit5e56ba45053ab5d7a77b60924e7a15cbbb11dcad
tree4bff497aff1f50acb0e2a77bf1b190bd9538c405
parentf7f3d48ac858e4d2f0c71f8479d4ea022a35dd9c
drm/i915/chv: Use 16 and 32 for low and high drain latency precision.

Current chv spec teels we can only use either 16 or 32 bits as precision.

Although in the past VLV went from 16/32 to 32/64 and spec might not be updated,
these precision values brings stability and fixes some issues Wayne was facing.

Cc: Wayne Boyer <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Tested-by: Wayne Boyer <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
[danvet: Sprinkle const as requested by Ville.]
Signed-off-by: Daniel Vetter <[email protected]>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_pm.c