android_kernel_xiaomi_sm8350/drivers/video
Luis F. Ortiz 5b373e10ae [ATYFB]: Fix onboard video on SPARC Blade 100 for 2.6.{13,14,15}
I have recently been switching from using 2.4.32 on my trusty
old Sparc Blade 100 to using 2.6.15 .  Some of the problems I ran into
were distorted video when the console was active (missing first
character, skipped dots) and when running X windows (colored snow,
stripes, missing pixels).  A quick examination of the 2.6 versus 2.4
source for the ATY driver revealed alot of changes.

         A closer look at the code/data for the 64GR/XL chip revealed
two minor "typos" that the rewriter(s) of the code made.  The first is
a incorrect clock value (230 .vs. 235) and the second is a missing
flag (M64F_SDRAM_MAGIC_PLL).  Making both these changes seems to have
fixed my problem.  I tend to think the 235 value is the correct one,
as there is a 29.4 Mhz clock crystal close to the video chip and 235.2
(29.4*8) is too close to 235 to make it a coincidence.

	The flag for M64F_SDRAM_MAGIC_PLL was dropped during the
changes made by adaplas in file revision 1.72 on the old bitkeeper
repository.

	The change relating to the clock rate has been there forever,
at least in the 2.6 tree.  I'm not sure where to look for the old 2.5
tree or if anyone cares when it happened.

On SPARC Blades 100's, which use the ATY MACH64GR video chipset, the
clock crystal frequency is 235.2 Mhz, not 230 Mhz.  The chipset also
requires the use of M64F_SDRAM_MAGIC_PLL in order to setup the PLL
properly for the DRAM.

Signed-off-by: Luis F. Ortiz <lfo@Polyad.Org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-01-05 13:12:41 -08:00
..
aty [ATYFB]: Fix onboard video on SPARC Blade 100 for 2.6.{13,14,15} 2006-01-05 13:12:41 -08:00
backlight Merge master.kernel.org:/home/rmk/linux-2.6-drvmodel 2005-11-11 09:24:26 -08:00
console [SPARC]: introduce a SPARC Kconfig symbol 2005-12-22 23:09:54 -08:00
geode [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
i810 [PATCH] kfree cleanup: misc remaining drivers 2005-11-07 07:54:05 -08:00
intelfb [PATCH] intelfb: Fix oops when changing video mode 2005-12-20 09:27:15 -08:00
kyro [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
logo [SPARC]: introduce a SPARC Kconfig symbol 2005-12-22 23:09:54 -08:00
matrox [PATCH] matroxfb: Set maxhipri to 0 2005-11-07 07:53:54 -08:00
nvidia [PATCH] nvidiafb: Fix bug in nvidiafb_pan_display 2005-11-13 18:14:11 -08:00
riva
savage [PATCH] savagefb: X-panning fixes 2005-11-09 07:56:34 -08:00
sis [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
68328fb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
acornfb.c [DRIVER MODEL] Convert platform drivers to use struct platform_driver 2005-11-09 22:32:44 +00:00
acornfb.h
amba-clcd.c [ARM] More sparse fixes 2005-11-08 14:44:15 +00:00
amifb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
arcfb.c [PATCH] arcfb __user annotations 2005-12-15 10:04:30 -08:00
asiliantfb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
atafb.c
au1100fb.c
au1100fb.h
bt431.h
bt455.h
bw2.c [SBUSFB]: Kill 'list' member from foo_par structs, totally unused. 2005-12-12 14:41:20 -08:00
c2p.c
c2p.h
cfbcopyarea.c [PATCH] fbdev: Fix incorrect unaligned access in little-endian machines 2005-12-12 22:31:17 -08:00
cfbfillrect.c [PATCH] fbdev: Fix incorrect unaligned access in little-endian machines 2005-12-12 22:31:17 -08:00
cfbimgblt.c [PATCH] fbdev: Fix incorrect unaligned access in little-endian machines 2005-12-12 22:31:17 -08:00
cg3.c [SBUSFB]: Kill 'list' member from foo_par structs, totally unused. 2005-12-12 14:41:20 -08:00
cg6.c [SBUSFB]: Kill 'list' member from foo_par structs, totally unused. 2005-12-12 14:41:20 -08:00
cg14.c [SBUSFB]: Kill 'list' member from foo_par structs, totally unused. 2005-12-12 14:41:20 -08:00
chipsfb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
cirrusfb.c [PATCH] fbdev: cirrusfb: Driver cleanup and bug fixes 2005-11-29 19:47:04 -08:00
clps711xfb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
controlfb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
controlfb.h
cyber2000fb.c [PATCH] cyber2000fb.c __iomem annotations 2005-12-15 10:04:30 -08:00
cyber2000fb.h
cyberfb.c
cyberfb.h
cyblafb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
dnfb.c [DRIVER MODEL] Convert platform drivers to use struct platform_driver 2005-11-09 22:32:44 +00:00
edid.h
epson1355fb.c [DRIVER MODEL] Convert platform drivers to use struct platform_driver 2005-11-09 22:32:44 +00:00
fbcmap.c
fbcvt.c
fbmem.c [PATCH] fbdev: Pan display fixes 2005-12-12 22:31:17 -08:00
fbmon.c [PATCH] fbdev: Rearrange mode database entries 2005-11-07 07:53:52 -08:00
fbsysfs.c [PATCH] fbcon: Console Rotation - Add ability to control rotation via sysfs 2005-11-09 07:56:35 -08:00
ffb.c [SBUSFB]: Kill 'list' member from foo_par structs, totally unused. 2005-12-12 14:41:20 -08:00
fm2fb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
g364fb.c
gbefb.c [DRIVER MODEL] Convert platform drivers to use struct platform_driver 2005-11-09 22:32:44 +00:00
hgafb.c
hitfb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
hpfb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
igafb.c
imsttfb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
imxfb.c [DRIVER MODEL] Convert platform drivers to use struct platform_driver 2005-11-09 22:32:44 +00:00
imxfb.h
Kconfig [SPARC]: introduce a SPARC Kconfig symbol 2005-12-22 23:09:54 -08:00
leo.c [SBUSFB]: Kill 'list' member from foo_par structs, totally unused. 2005-12-12 14:41:20 -08:00
macfb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
macmodes.c
macmodes.h
Makefile [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
maxinefb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
modedb.c [PATCH] fbdev: Framebuffer mode required for PowerBook Titanium 2005-11-09 07:56:34 -08:00
neofb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
offb.c offb: Fix compile error on ppc32 systems 2005-11-18 16:41:49 +11:00
p9100.c [SBUSFB]: Kill 'list' member from foo_par structs, totally unused. 2005-12-12 14:41:20 -08:00
platinumfb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
platinumfb.h
pm2fb.c [PATCH] pm2fb: Manual configuration of timings for Elsa Winner 2000 Office 2005-11-07 07:53:51 -08:00
pm3fb.c
pmag-aa-fb.c
pmag-ba-fb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
pmagb-b-fb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
pvr2fb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
pxafb.c [PATCH] fbdev: make pxafb more robust to errors with CONFIG_FB_PXA_PARAMETERS 2005-12-13 21:18:16 -08:00
pxafb.h
q40fb.c [DRIVER MODEL] Convert platform drivers to use struct platform_driver 2005-11-09 22:32:44 +00:00
radeonfb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
retz3fb.c
retz3fb.h
s1d13xxxfb.c [DRIVER MODEL] Convert platform drivers to use struct platform_driver 2005-11-09 22:32:44 +00:00
s3c2410fb.c [DRIVER MODEL] Convert platform drivers to use struct platform_driver 2005-11-09 22:32:44 +00:00
s3c2410fb.h
S3triofb.c
sa1100fb.c [DRIVER MODEL] Convert platform drivers to use struct platform_driver 2005-11-09 22:32:44 +00:00
sa1100fb.h
sbuslib.c [VIDEO] sbuslib: Disallow private mmaps. 2005-12-24 12:06:10 -08:00
sbuslib.h [SBUSFB]: implement ->compat_ioctl 2005-11-12 12:11:12 -08:00
sgivwfb.c [DRIVER MODEL] Convert platform drivers to use struct platform_driver 2005-11-09 22:32:44 +00:00
skeletonfb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
sstfb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
sticore.h
stifb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
sun3fb.c
tcx.c [SBUSFB] tcx: Use FB_BLANK_UNBLANK instead of magic constant. 2005-12-12 14:42:07 -08:00
tdfxfb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
tgafb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
tridentfb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
tx3912fb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
valkyriefb.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
valkyriefb.h
vesafb.c [PATCH] make vesafb build without CONFIG_MTRR 2005-11-13 18:14:21 -08:00
vfb.c [DRIVER MODEL] Convert platform drivers to use struct platform_driver 2005-11-09 22:32:44 +00:00
vga16fb.c [PATCH] vga16fb: Convert vga16fb as a platform device 2005-11-09 07:56:35 -08:00
vgastate.c [PATCH] drivers/video/vgastate.c: kill dead code 2005-11-09 07:56:36 -08:00
virgefb.c
virgefb.h
w100fb.c [PATCH] w100fb: platform device conversion fixup 2005-11-13 18:14:11 -08:00
w100fb.h