1. 07 11月, 2005 2 次提交
    • M
      [PATCH] fbdev: fix the fb_find_nearest_mode() function · 8fb6567e
      Michal Januszewski 提交于
      Currently the fb_find_nearest_mode() function finds a mode with screen
      resolution closest to that described by the 'var' argument and with some
      arbitrary refresh rate (eg.  in the following sequence of refresh rates: 70 60
      53 85 75, 53 is selected).
      
      This patch fixes the function so that it looks for the closest mode as far as
      both resolution and refresh rate are concerned.  The function's first argument
      is changed to fb_videomode so that the refresh rate can be specified by the
      caller, as fb_var_screeninfo doesn't have any fields that could directly hold
      this data.
      Signed-off-by: NMichal Januszewski <spock@gentoo.org>
      Signed-off-by: NAntonino Daplas <adaplas@pol.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      8fb6567e
    • A
      [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon · c465e05a
      Antonino A. Daplas 提交于
      According to Jon Smirl, filling in the field fb_cursor with soft_cursor for
      drivers that do not support hardware cursors is redundant.  The soft_cursor
      function is usable by all drivers because it is just a wrapper around
      fb_imageblit.  And because soft_cursor is an fbcon-specific hook, the file is
      moved to the console directory.
      
      Thus, drivers that do not support hardware cursors can leave the fb_cursor
      field blank.  For drivers that do, they can fill up this field with their own
      version.
      
      The end result is a smaller code size.  And if the framebuffer console is not
      loaded, module/kernel size is also reduced because the soft_cursor module will
      also not be loaded.
      Signed-off-by: NAntonino Daplas <adaplas@pol.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      c465e05a
  2. 13 9月, 2005 1 次提交
  3. 10 9月, 2005 6 次提交
    • A
      [PATCH] fbcon: Break up bit_putcs into its component functions · 829e79b6
      Antonino A. Daplas 提交于
      The function bit_putcs() in drivers/video/console/bitblit.c is becoming large.
       Break it up into its component functions (bit_putcs_unaligned and
      bit_putcs_aligned).
      
      Incorporated fb_pad_aligned_buffer() optimization by Roman Zippel.
      Signed-off-by: NAntonino Daplas <adaplas@pol.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      829e79b6
    • A
      [PATCH] fbdev: Add VESA Coordinated Video Timings (CVT) support · 96fe6a21
      Antonino A. Daplas 提交于
      The Coordinated Video Timings (CVT) is the latest standard approved by VESA
      concerning video timings generation.  It addresses the limitation of GTF which
      is designed mainly for CRT displays.  CRT's have a high blanking requirement
      (as much as 25% of the horizontal frame length) which artificially increases
      the pixelclock.  Digital displays, on the other hand, needs to conserve the
      pixelclock as much as possible.  The GTF also does not take into account the
      different aspect ratios in its calculation.
      
      The new function added is fb_find_mode_cvt().  It is called by fb_find_mode()
      if it recognizes a mode option string formatted for CVT.  The format is:
      
      <xres>x<yres>[M][R][-<bpp>][<at-sign><refresh>][i][m]
      
      The 'M' tells the function to calculate using CVT.  On it's own, it will
      compute a timing for CRT displays at 60Hz.  If the 'R' is specified, 'reduced
      blanking' computation will be used, best for flatpanels.  The 'i' and the 'm'
      is for 'interlaced mode' and 'with margins' respectively.
      
      To determine if CVT was used, check for dmesg for something like this:
      
      CVT Mode - <pix>M<n>[-R], ie: .480M3-R  (800x600 reduced blanking)
      
      where: pix - product of xres and yres, in MB
          M   - is a CVT mode
          n   - the aspect ratio (3 - 4:3; 4 - 5:4; 9 - 16:9, 15:9; A - 16:10)
          -R   - reduced blanking
      Signed-off-by: NAntonino Daplas <adaplas@pol.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      96fe6a21
    • T
      [PATCH] sisfb update · 544393fe
      Thomas Winischhofer 提交于
      This lifts sisfb from version 1.7.17 to version 1.8.9. Changes include:
      
      - Added support for XGI V3XT, V5, V8, Z7 chipsets, including POSTing of
        all of these chipsets.
      
      - Added support for latest SiS chipsets (761).
      
      - Added support for SiS76x memory "hybrid" mode.
      
      - Added support for new LCD resolutions (eg 1280x854, 856x480).
      
      - Fixed support for 320x240 STN panels (for embedded devices).
      
      - Fixed many HDTV modes (525p, 750p, 1080i).
      
      - Fixed PCI config register reading/writing to use proper kernel
        functions for this purpose.
      
      - Fixed PCI ROM handling to use the kernel's proper functions.
      
      - Removed lots of "typedef"s.
      
      - Removed lots of code which was for X.org/XFree86 only.
      
      - Fixed coding style in many places.
      
      - Removed lots of 2.4 cruft.
      
      - Reduced stack size by unifying two previously separate structs into
        one.
      
      - Added new hooks for memory allocation (for DRM).  Now the driver can
        truly handle multiple cards, including memory management.
      
      - Fixed numerous minor bugs.
      Signed-off-by: NThomas Winischhofer <thomas@winischhofer.net>
      Cc: "Antonino A. Daplas" <adaplas@pol.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      544393fe
    • A
      [PATCH] fbdev: Fix greater than 1 bit monochrome color handling · b8c90945
      Antonino A. Daplas 提交于
      Currently, fbcon assumes that the visual FB_VISUAL_MONO* is always 1 bit.
      According to Geert, there are old hardware where it's possible to have
      monochrome at 8-bit, but has only 2 colors, black - 0x00 and white - 0xff.
      Fix color handlers (fb_get_color_depth, and get_color) for this special case.
      Signed-off-by: NAntonino Daplas <adaplas@pol.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      b8c90945
    • A
      [PATCH] fbdev: Resurrect hooks to get EDID from firmware · 5e518d76
      Antonino A. Daplas 提交于
      For the i386, code is already present in video.S that gets the EDID from the
      video BIOS.  Make this visible so drivers can also use this data as fallback
      when i2c does not work.
      
      To ensure that the EDID block is returned for the primary graphics adapter
      only, by check if the IORESOURCE_ROM_SHADOW flag is set.
      Signed-off-by: NAntonino Daplas <adaplas@pol.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5e518d76
    • A
      [PATCH] fbdev: Add fbset -a support · 7726e9e1
      Antonino A. Daplas 提交于
      Add capability to fbdev to listen to the FB_ACTIVATE_ALL flag.  If set, it
      notifies fbcon that all consoles must be set to the current var.
      Signed-off-by: NAntonino Daplas <adaplas@pol.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      7726e9e1
  4. 22 6月, 2005 2 次提交
  5. 01 5月, 2005 1 次提交
  6. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4