]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "drm/i915: Disable/Enable PM Intrrupts based on the current freq."
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 27 Mar 2014 08:24:19 +0000 (08:24 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 31 Mar 2014 08:46:34 +0000 (10:46 +0200)
commit66bc4535890c0d565c33d2feef9912bda82930f3
tree41733f741e38af8af92705e11f758be785ffc944
parenta65c96cca082c3f6dfcab281bc8467ea38686afd
Revert "drm/i915: Disable/Enable PM Intrrupts based on the current freq."

This reverts commit b8806c42f52f501bbcb9402647f9d91c69ec7582.

Conflicts:
drivers/gpu/drm/i915/i915_irq.c

The partial application of interrupt masking without regard to other
pathways for adjusting the RPS frequency results in completely disabling
the PM interrupts. This leads to excessive power consumption as the GPU
is kept at max clocks (until the failsafe mechanism fires of explicitly
downclocking the GPU when all requests are idle). Or equally as bad for
the UX, the GPU is kept at minimum clocks and prevented from upclocking
in response to a requirement for more power.

Testcase: pm_rps/blocking
Cc: Deepak S <deepak.s@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by:Deepak S <deepak.s@linux.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/intel_pm.c