]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Restrict gen6_reset_rps_interrupts to gen6+
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 12 Aug 2018 22:36:30 +0000 (23:36 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Aug 2018 20:20:28 +0000 (21:20 +0100)
commit74cfb284de12b8745bc4c4744958149ebe871b54
tree042e355d4e62bb6a8b7c5b3094f4968c4ea1eb38
parent024697535e4cc4be6999832d82cb067f6ed45677
drm/i915: Restrict gen6_reset_rps_interrupts to gen6+

Do not call gen6_reset_rps_interrupts() when we know the registers do not
exist.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180812223642.24865-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_pm.c