temp_metrics: set GPU min frequency to 450

Removed the check for modem device and now unconditionally
setting the GPU min frequency to 450.

BUG=chrome-os-partner:16439
TEST="cat /sys/kernel/debug/dri/0/i915_min_freq" and verify that it
returns 450 for systems with and without modem device.
BRANCH=none

Change-Id: I34d176e65420834a85a02755bad11124432ac33f
Signed-off-by: Sameer Nanda <snanda@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/41564
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
This commit is contained in:
Sameer Nanda
2013-01-17 13:34:31 -08:00
committed by ChromeBot
parent 3182778dbb
commit 40ebfd40fc

View File

@@ -143,11 +143,7 @@ script
}
set_gpu_min_freq() {
GPU_MIN_FREQ=350
if lsusb -d 1410:9010; then
# Set min GPU freq to 450 to reduce intereference with modem.
GPU_MIN_FREQ=450
fi
GPU_MIN_FREQ=450
echo $GPU_MIN_FREQ > /sys/kernel/debug/dri/0/i915_min_freq
}