mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 02:35:28 +00:00
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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user