]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/vlv: WA for Turbo and RC6 to work together.
authorDeepak S <deepak.s@linux.intel.com>
Thu, 3 Jul 2014 21:33:01 +0000 (17:33 -0400)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 8 Jul 2014 19:05:33 +0000 (21:05 +0200)
commit7bebe80d6c3f0cee8cb7c4a2674fdff444046307
tree5dc4134e07533dcd4ac281bd870669a9e08991ad
parent201c8cfa2aeef98cd1b676c0b68df8b5281b225e
drm/i915/vlv: WA for Turbo and RC6 to work together.

With RC6 enabled, BYT has an HW issue in determining the right
Gfx busyness.
WA for Turbo + RC6: Use SW based Gfx busy-ness detection to decide
on increasing/decreasing the freq. This logic will monitor C0
counters of render/media power-wells over EI period and takes
necessary action based on these values

v2: Refactor duplicate code. (Ville)

v3: Reformat the comments. (Ville)

v4: Enable required counters and remove unwanted code (Ville)

v5: Added frequency change acceleration support and remove kernel-doc
style comments. (Ville)

v6: Updated comment section and Fix w/a comment. (Ville)

Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_pm.c