diff options
author | Mika Kuoppala <mika.kuoppala@linux.intel.com> | 2014-07-09 14:55:56 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-07-12 11:13:47 +0200 |
commit | 542a6b205b184ec90e2108aaebaf8ba16128baec (patch) | |
tree | af5ef3cb1b973090ef2797c9fb4573107bba227f /lib/assoc_array.c | |
parent | d4ef41ce151988411dec8b089636d9ecbd1da559 (diff) | |
download | op-kernel-dev-542a6b205b184ec90e2108aaebaf8ba16128baec.zip op-kernel-dev-542a6b205b184ec90e2108aaebaf8ba16128baec.tar.gz |
drm/i915/chv: calculate rc6 residency correctly
The register to read cz count is different from vlv. Also
the counts returned from CCK_CTL1 for BSW are (ticks in 30ns - 1).
czcount_30ns of value 1 is a special case for 320Mhz.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80703
Suggested-by: Deepak S <deepak.s@linux.intel.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Tested-by: Guo Jinxian <jinxianx.guo@intel.com>
Reviewed-by: Deepak S <deepak.s@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions