OSDN Git Service

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)
commitfbf0296c25ce3ae0816d2f72aaef70e7da9e3a7a
tree2845b2d355b5a98924236aab757ba1edb59e40e0
parentd4cb3fd9b548b8bfe2a712ec920b9ebabd3547ab
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