]> 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)
commit61e1e376bb25095f741d3949e51eb557cc432dc2
tree042e355d4e62bb6a8b7c5b3094f4968c4ea1eb38
parent30b710840e4b9c9699d3d4b33fb19ad8880d4614
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