Skip to contentSkip to conversation

: i810fb updates

PATCH Applied Antonino Daplas 2 participants 2 messages Jan 18, 2003 – Jan 24, 2003 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : i810fb updates

Hi James,

Attached is a diff against linux-2.5.59 with the following i810fb updates:

1. Uses fb_get_mode() and fb_validate_mode() to calculate/check display timings.

2. Fixed bug in i810fb_imageblit() and i810fb_cursor() when bitmap is not divisible by 8.

3. Removed unnecessary calls to wait_for_engine_idle() since fbcon already guarantees that fb_sync() will be called whenever the framebuffer memory is to be accessed.

The updates will remove around 250 lines of code :-)

Tony

drivers/video/i810/i810.h +0 -7
diff -Naur linux-2.5.59/drivers/video/i810/i810.h linux/drivers/video/i810/i810.h
@@ -170,13 +170,6 @@
 #define REF_FREQ                    24000000
 #define TARGET_N_MAX                30
 
-#define FLYBACK                     550
-#define V_FRONTPORCH                1
-#define H_OFFSET                    40
-#define H_SCALEFACTOR               20
-#define H_BLANKSCALE                128
-#define H_GRADIENT                   600
-
 #define MAX_PIXELCLOCK              230000000
 #define MIN_PIXELCLOCK               15000000
 #define VFMAX                       60
drivers/video/i810/i810_accel.c +21 -41

140 lines not on this page · raw message

drivers/video/i810/i810_main.c +62 -330

498 lines not on this page · raw message

#1 lore raw

Applied.

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com