]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Defer unmasking RPS interrupts until after making adjustments
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 9 Mar 2017 21:12:32 +0000 (21:12 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 10 Mar 2017 14:28:44 +0000 (14:28 +0000)
commit3e9c9e7a50d7bbce6f0e847b115103004b1d6c02
tree37e5c40c7cce7d9f4819e3a1896fdd5903ad0e8f
parent8a58d3dc82f01c80a4a801a870ae8b6b752a7649
drm/i915: Defer unmasking RPS interrupts until after making adjustments

To make our adjustments to RPS requires taking a mutex and potentially
sleeping for an unknown duration - until we have completed our
adjustments further RPS interrupts are immaterial (they are based on
stale thresholds) and we can safely ignore them.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170309211232.28878-3-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
drivers/gpu/drm/i915/i915_irq.c