android_kernel_xiaomi_sm8350/drivers/video
Antonino A. Daplas 8062594209 [PATCH] vesafb: Fix mtrr bugs
>> vesafb: mode is 800x600x16, linelength=1600, pages=16
>> vesafb: scrolling: redraw
>> vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
>> mtrr: type mismatch for fc000000,1000000 old: write-back new: write-
>> combining

Range is already set to write-back, vesafb attempts to add a write-combining
mtrr (default for vesafb).

>> mtrr: size and base must be multiples of 4 kiB

This is a bug, vesafb attempts to add a size < PAGE_SIZE triggering
the messages below.

To eliminate the warning messages, you can add the option mtrr:2 to add a
write-back mtrr for vesafb.  Or just use nomtrr option.

1. Fix algorithm for finding the best power of 2 size with mtrr_add().

2. Add option to choose the mtrr type by extending the mtrr boot option:

   mtrr:n where n

        0 = no mtrr (equivalent to using the nomtrr option)
        1 = uncachable
        2 = write back
        3 = write combining (default)
        4 = write through

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-29 15:01:13 -07:00
..
aty [PATCH] radeonfb: clean up EDID sysfs attribute 2005-07-27 16:26:18 -07:00
backlight [PATCH] fix u32 vs. pm_message_t in driver/video 2005-04-16 15:25:36 -07:00
console [PATCH] fbcon: don't repaint the cursor when it is disabled. 2005-07-27 16:26:19 -07:00
geode Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i810 [PATCH] fbdev: fill in the access_align field. 2005-06-21 19:07:42 -07:00
intelfb [PATCH] fbdev: fill in the access_align field. 2005-06-21 19:07:42 -07:00
kyro Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
logo [PATCH] m32r: framebuffer device support 2005-07-07 18:24:11 -07:00
matrox [PATCH] drivers/video/matrox/matroxfb_misc.c: remove dead code 2005-06-25 16:25:04 -07:00
nvidia [PATCH] fbdev: fill in the access_align field. 2005-06-21 19:07:42 -07:00
riva [PATCH] turn many #if $undefined_string into #ifdef $undefined_string 2005-07-27 16:26:08 -07:00
savage [PATCH] pm: more u32 vs. pm_message_t fixes 2005-07-07 18:23:43 -07:00
sis [PATCH] make some things static 2005-05-05 16:36:47 -07:00
68328fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
acornfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
acornfb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
amba-clcd.c [PATCH] ARM: IntegratorCP: 16bpp is RGB565 not RGB555 2005-04-30 23:28:47 +01:00
amifb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
arcfb.c [PATCH] Framebuffer driver for Arc LCD board 2005-06-21 19:07:41 -07:00
asiliantfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atafb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
au1100fb.c [PATCH] au1100fb: convert to C99 inits. 2005-06-25 16:24:57 -07:00
au1100fb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bt431.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bt455.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bw2.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
c2p.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
c2p.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cfbcopyarea.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cfbfillrect.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cfbimgblt.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cg3.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cg6.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cg14.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
chipsfb.c [PATCH] ppc32: Remove CONFIG_PMAC_PBOOK 2005-06-27 15:11:43 -07:00
cirrusfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
clps711xfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
controlfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
controlfb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cyber2000fb.c [PATCH] ARM: Cleanup kmalloc in cyber2000fb 2005-05-03 12:23:56 +01:00
cyber2000fb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cyberfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cyberfb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dnfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
edid.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
epson1355fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fbcmap.c [PATCH] fbdev: update info->cmap when setting cmap from user-/kernelspace. 2005-07-27 16:26:19 -07:00
fbmem.c [PATCH] fbmem: use unregister_chrdev() on unload 2005-07-27 16:26:18 -07:00
fbmon.c [PATCH] fbmon: horizontal frequency rounding fix 2005-07-27 16:26:18 -07:00
fbsysfs.c [PATCH] fbdev: colormap fixes fix 2005-07-28 21:46:05 -07:00
ffb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fm2fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
g364fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gbefb.c [PATCH] Driver Core: drivers/usb/input/aiptek.c - drivers/zorro/zorro-sysfs.c: update device attribute callbacks 2005-06-20 15:15:35 -07:00
hgafb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hitfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hpfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
igafb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
imsttfb.c [PATCH] imsttfb missing iomem annotations 2005-04-26 07:43:42 -07:00
imxfb.c [PATCH] ARM: 2687/1: i.MX framebuffer: make dmacr register platform configurable 2005-07-17 20:15:36 +01:00
imxfb.h [PATCH] ARM: 2687/1: i.MX framebuffer: make dmacr register platform configurable 2005-07-17 20:15:36 +01:00
Kconfig [PATCH] mips: fbdev Kcofnig fix 2005-07-27 16:25:48 -07:00
leo.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
macfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
macmodes.c [PATCH] macmodes: needs a license 2005-06-14 07:19:35 -07:00
macmodes.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] Framebuffer driver for Arc LCD board 2005-06-21 19:07:41 -07:00
maxinefb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
modedb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
neofb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
offb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
p9100.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
platinumfb.c [PATCH] openfirmware: generate device table for userspace 2005-07-06 12:55:20 -07:00
platinumfb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pm2fb.c [PATCH] clean up inline static vs static inline 2005-07-27 16:26:20 -07:00
pm3fb.c [PATCH] pm3fb typo fix 2005-06-21 19:07:40 -07:00
pmag-aa-fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pmag-ba-fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pmagb-b-fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pvr2fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pxafb.c [PATCH] ARM: 2721/1: remove reliance on udivdi3 for pxafb driver 2005-06-23 21:56:45 +01:00
pxafb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
q40fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
radeonfb.c [PATCH] drivers/video/radeonfb.c: fix an array overflow 2005-05-01 08:59:30 -07:00
retz3fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
retz3fb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
s1d13xxxfb.c [PATCH] m32r: framebuffer device support 2005-07-07 18:24:11 -07:00
S3triofb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sa1100fb.c [PATCH] fix u32 vs. pm_message_t in driver/video 2005-04-16 15:25:36 -07:00
sa1100fb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sbuslib.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sbuslib.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sgivwfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
skeletonfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
softcursor.c [PATCH] fbdev: stack reduction 2005-06-21 19:07:41 -07:00
sstfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sticore.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
stifb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sun3fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tcx.c [SPARC]: TCX Framebuffer fixes 2005-04-24 20:39:15 -07:00
tdfxfb.c [PATCH] Clean-up and bug fix for tdfxfb framebuffer size detection 2005-05-01 08:59:25 -07:00
tgafb.c [PATCH] Fix tgafb.c compile failure 2005-04-21 14:09:42 -07:00
tridentfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tx3912fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
valkyriefb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
valkyriefb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vesafb.c [PATCH] vesafb: Fix mtrr bugs 2005-07-29 15:01:13 -07:00
vfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vga16fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vgastate.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
virgefb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
virgefb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
w100fb.c [PATCH] Driver Core: drivers/usb/input/aiptek.c - drivers/zorro/zorro-sysfs.c: update device attribute callbacks 2005-06-20 15:15:35 -07:00
w100fb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00