ok, sorting my mtrr file by its second field, I noticed this 200MB region
covered by 3 regs : 3,4,5
I made an initramfs hook /usr/share/initramfs-tools/scripts/init-top/screw_mtrr
:
--
#!/bin/sh
PREREQ=""
prereqs()
{
echo "$PREREQ"
}
case $1 in
# get pre-requisites
prereqs)
prereqs
exit 0
;;
esac
for x in $(awk '$NF=="uncachable"{print substr($1,5,1)}' /proc/mtrr)
do echo disable=$x > /proc/mtrr
done
--
and included it into my initramfs image (update-initramfs -u -k all)
after the reboot, uncachable MTRRs were disabled , and i915 driver was able to
allocate an MTRR for its needs :
$ cat /proc/mtrr
reg00: base=0x000000000 ( 0MB), size= 2048MB, count=1: write-back
reg01: base=0x0ffe00000 ( 4094MB), size= 2MB, count=1: write-protect
reg02: base=0x080000000 ( 2048MB), size= 1024MB, count=1: write-back
reg03: base=0x0c0000000 ( 3072MB), size= 256MB, count=1: write-combining
reg06: base=0x100000000 ( 4096MB), size= 1024MB, count=1: write-back
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/709677
Title:
[drm] MTRR allocation failed. Graphics performance may suffer.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/709677/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs