diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-10-17 21:41:13 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-10-17 21:41:13 +0000 |
commit | 4672f1314974ba3581d74bdc4256c558c78c6103 (patch) | |
tree | 8b5e60fe19cf2e0f62a1d8fa7724697a9b541c70 /lib/libc/hidden/db.h | |
parent | 44c99f6128e255a15fbbc8b89326708973e1ca6f (diff) |
Fix the code that sets up the MCH BAR on systems where the (buggy) BIOS
doesn't do this for us. The code was poking registers on the wrong PCI
device. We were just lucky that it worked on most systems.
This should fix machines such as the Asus EeePC 701 and get rid of the
error: [drm:pid0:i915_gem_detect_bit_6_swizzle] *ERROR* Couldn't read from
MC HBAR. Disabling tiling.
messages on that machine.
Diffstat (limited to 'lib/libc/hidden/db.h')
0 files changed, 0 insertions, 0 deletions