drm/i915/bdw: RPS frequency bits are the same as HSW
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
3280e8b08f
commit
50e6a2a744
|
@ -3041,7 +3041,7 @@ void gen6_set_rps(struct drm_device *dev, u8 val)
|
||||||
if (val != dev_priv->rps.cur_freq) {
|
if (val != dev_priv->rps.cur_freq) {
|
||||||
gen6_set_rps_thresholds(dev_priv, val);
|
gen6_set_rps_thresholds(dev_priv, val);
|
||||||
|
|
||||||
if (IS_HASWELL(dev))
|
if (IS_HASWELL(dev) || IS_BROADWELL(dev))
|
||||||
I915_WRITE(GEN6_RPNSWREQ,
|
I915_WRITE(GEN6_RPNSWREQ,
|
||||||
HSW_FREQUENCY(val));
|
HSW_FREQUENCY(val));
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue