diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2014-08-18 14:42:43 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-09-03 11:04:56 +0200 |
commit | 1c14762d0cc3eecfdc5060bd634d124d32bd9d44 (patch) | |
tree | b04f2e251cd1379ffacda321d9ecc3ba3a5a8c57 /drivers/gpu/drm/i915/intel_ringbuffer.c | |
parent | cbce710709f2b57cb955a98c0d3fad1559c4d93d (diff) |
drm/i915: Warn about odd rps values on CHV
CHV wants even rps opcodes so print a warning of the
min/max/rpe/rp1 values are odd, and warn if an odd value
slips through to valleyview_set_rps() and truncate it to
an even value.
Also add a comment to chv_freq_opcode() to make sure no one
changes the code without considering this requirement.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Deepak S <deepak.s@linux.intel.com>
[danvet: Help git along in applying the patch, somehow it silently
ended up in the vlv init_gt_powersave function.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions