]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Stop setting SNB min-freq-table 0 on powersave setup
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 21 Oct 2016 20:55:31 +0000 (21:55 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 22 Oct 2016 08:36:31 +0000 (09:36 +0100)
commitcca94cc53749554989bfae2971f2e9bbf4c4eee2
tree2845b2d355b5a98924236aab757ba1edb59e40e0
parentb492ab78dcd38db9587a3846ae54e6be5309e405
drm/i915: Stop setting SNB min-freq-table 0 on powersave setup

The min-freq-table is an array of values that match each CPU frequency to
an equivalent GPU frequency. Setting a single value of 0 on init is both
illegal (generates an error from the PCU) and nonsensical. Let's see if
we survive without that error.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20161021205531.8651-1-chris@chris-wilson.co.uk
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/intel_pm.c