drm/i915: Round-up clock and limit drain latency
authorGajanan Bhat <gajanan.bhat@intel.com>
Tue, 5 Aug 2014 17:45:54 +0000 (23:15 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 Aug 2014 15:44:00 +0000 (17:44 +0200)
commita398e9c79eea74ba2f3f24ac08902661682f008c
tree43cb0ab75a3ea8947b4a50a380219223b93abb9b
parent0948c2651413d56c90d7ee9c99d75bef82d4c351
drm/i915: Round-up clock and limit drain latency

Round up clock computation and limit drain latency to maximum of 0x7F.

Signed-off-by: Gajanan Bhat <gajanan.bhat@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c