10 Sep, 2005

40 commits

  • The URL for Documentation/sparse is wrong now that it is in git.

    Signed-off-by: Ben Dooks
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ben Dooks
     
  • This patch brings the now out-of-date Documentation/filesystems/vfs.txt
    back to life. Thanks to Carsten Otte, Trond Myklebust, and Anton
    Altaparmakov for their help on updating this documentation.

    Signed-off-by: Pekka Enberg
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Pekka J Enberg
     
  • There are minor changes in command line options in kexec-tools for kdump.
    This patch updates the documentation to reflect those changes.

    Signed-off-by: Vivek Goyal
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Vivek Goyal
     
  • This patch changes a macro definition so that kernel-doc can understand it.

    Signed-off-by: Martin Waitz
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Martin Waitz
     
  • This patch clarifies NULL handling of kfree() and vfree(). I addition,
    wording of calling context restriction for vfree() and vunmap() are changed
    from "may not" to "must not."

    Signed-off-by: Pekka Enberg
    Acked-by: Manfred Spraul
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Pekka Enberg
     
  • Someone complained about the docs for vm_overcommit_memory being wrong.
    This patch copies the text from the vm documentation into procfs.

    Signed-off-by: Chuck Ebbert
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Chuck Ebbert
     
  • Documentation for how the ISA DMA controller is handled in the kernel.

    Signed-off-by: Pierre Ossman
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Pierre Ossman
     
  • Add a new document describing the major kernel trees and how to apply their
    patches.

    Signed-off-by: Jesper Juhl
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jesper Juhl
     
  • Update the hacking guide, before CONFIG_PREEMPT_RT goes in and it needs
    rewriting again.

    Changes include modernization of quotes, removal of most references to
    bottom halves (some mention required because we still use bh in places to
    mean softirq).

    It would be nice to have a discussion of sparse and various annotations.
    Please send patches straight to akpm.

    Signed-off-by: Rusty Russell (authored)
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rusty Russell
     
  • This patch add the plateform specific stuff needed to configure and use the
    driver.

    Signed-Off-By: Arnaud Patard
    Signed-off-by: Antonino Daplas
    Cc: Russell King
    Cc: Ben Dooks
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arnaud Patard
     
  • This set of two patches add support for the framebuffer of the Samsung S3C2410
    ARM SoC. This driver was started about one year ago and is now used on iPAQ
    h1930/h1940, Acer n30 and probably other s3c2410-based machines I'm not aware
    of. I've also heard yesterday that it's working also on iPAQ rx3715/rx3115
    (s3c2440-based machines).

    Signed-Off-By: Arnaud Patard
    Signed-off-by: Antonino Daplas
    Signed-off-by: Ben Dooks
    Cc: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arnaud Patard
     
  • Quiet an incorrect warning in aty128fb and radeonfb about the PCI ROM
    content. Macs work just find without that signature.

    Signed-off-by: Olaf Hering
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Olaf Hering
     
  • Stop LCD displays from flickering during high loads.

    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Antonino A. Daplas
     
  • Add ddc/i2c support for i810fb. This will allow the driver to get display
    information, especially for monitors with fickle timings. The i2c support
    depends on CONFIG_FB_I810_GTF.

    Changed __init* to __devinit*

    Signed-off-by: Antonino Daplas
    Signed-off-by: Alexander Nyberg
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    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: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Antonino A. Daplas
     
  • To solve touchscreen interference problems devices like the Sharp Zaurus
    SL-C3000 need to know the length of the horitzontal sync pulses. This patch
    adds a hook to pxafb so the touchscreen driver can function correctly.

    Signed-Off-By: Richard Purdie
    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Richard Purdie
     
  • The var structure in calc_mode_timings is not properly initialized (zero set)
    which leads to undefined behavior when it is passed to fb_get_mode().

    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Antonino A. Daplas
     
  • nvidiafb_imageblit converts the bitdata stream from big_endian to little
    endian. This produces mirrored characters when machine is big_endian. Do not
    endian convert on big endian machines.

    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Antonino A. Daplas
     
  • If console is blanked or in KD_GRAPHICS mode, delete cursor timer. No sense
    flashing the cursor when there's nothing to be seen.

    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Antonino A. Daplas
     
  • Make "mode_option" available when compiled as a module.

    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Antonino A. Daplas
     
  • If no EDID block is probed, if the display is digital and if no mode option is
    specified by the user, get the timings by CVT instead of using the global mode
    database.

    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    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:

    x[M][R][-][][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 - M[-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: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Antonino A. Daplas
     
  • This patch changes radeon to request only resources 0 and 2 instead of all
    3. This works around problems with some setups where BAR 1 (IO BAR) has
    not been assigned by the firmware since it's not used on the machine and
    the kernel fails to assign something to it due to the card being between a
    P2P bridge that was configured without an IO range at all.

    This typically fixes radeonfb on some Apple Xserve G5 machines

    Signed-off-by: Daniel Burcaw
    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Daniel Burcaw
     
  • This trivial patch gives a performance boost to the framebuffer console

    Constructing the bitmaps that are given to the bitblit functions of the
    framebuffer drivers is time consuming. Here we avoide a call to the slow
    fb_pad_aligned_buffer(). The patch replaces that call with a simple but
    much more efficient bytewise copy.

    The kernel spends a significant time at this place if you use 8x* fonts.
    Every pixel displayed on your screen is prepared here.

    Some benchmark results:

    Displaying a file of 2000 lines with 160 characters each takes 889 ms
    system time using cyblafb on my system (I´m using a 1280x1024 video mode,
    resulting in a 160x64 character console)

    Displaying the same file with the enclosed patch applied to 2.6.13 only
    takes 760 ms system time, saving 129 ms or 14.5%.

    Font widths other than 8 are not affected.

    The advantage and correctness of this patch should be obvious.

    Signed-off-by: Knut Petersen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Knut Petersen
     
  • This is a framebuffer driver for the Cyberblade/i1 graphics core.

    Currently tridenfb claims to support the cyberblade/i1 graphics core. This
    is of very limited truth. Even vesafb is faster and provides more working
    modes and a much better quality of the video signal. There is a great
    number of bugs in tridentfb ... but most often it is impossible to decide
    if these bugs are real bugs or if fixing them for the cyberblade/i1 core
    would break support for one of the other supported chips.

    Tridentfb seems to be unmaintained,and documentation for most of the
    supported chips is not available. So "fixing" cyberblade/i1 support inside
    of tridentfb was not an option, it would have caused numerous
    if(CYBERBLADEi1) else ... cases and would have rendered the code to be
    almost unmaintainable.

    A first version of this driver was published on 2005-07-31. A fix for a
    bug reported by Jochen Hein was integrated as well as some changes
    requested by Antonino A. Daplas.

    A message has been added to tridentfb to inform current users of tridentfb
    to switch to cyblafb if the cyberblade/i1 graphics core is detected.

    This patch is one logical change, but because of the included documentation
    it is bigger than 70kb. Therefore it is not sent to lkml and
    linux-fbdev-devel,

    Signed-off-by: Knut Petersen
    Cc: Muli Ben-Yehuda
    Acked-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Knut Petersen
     
  • err remains uninitialized of pci_request_regions fails.

    Found by Thorsten Kukuk, I added a few more checks.

    Signed-off-by: Olaf Hering
    Cc: "Antonino A. Daplas"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Olaf Hering
     
  • 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: Thomas Winischhofer
    Cc: "Antonino A. Daplas"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Thomas Winischhofer
     
  • This updates the matroxfb code so that it can find the PInS data embedded
    in the BIOS on PowerPC cards. The process for finding the data is
    different on OpenFirmware cards than on x86 cards, and the code for doing
    so was missing.

    After patching, building, installing, and booting a kernel, you should grep
    for "PInS" in /var/log/messages. You should see two messages in the log:

    PInS data found at offset XXXXX
    PInS memtype = X

    On the GXT135p card I get "31168" and "5". The first value is irrelevant,
    but it's presence lets me know that the PInS data was actually found. On a
    GXT130p, the second value should be 3. Since I don't have access to that
    hardware, if someone can verify that, I will submit a follow-on patch that
    rips out all the memtype parameter stuff.

    Signed-off-by: Ian Romanick
    Signed-off-by: Petr Vandrovec
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ian Romanick
     
  • The link for ATI's product page in drivers/video/Kconfig for FB_RADEON is
    broken. Replace with a product comparison page.

    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Antonino A. Daplas
     
  • Currently, atyfb has code that sets the hsync and vsync polarity based on the
    current video mode, without letting the user override the settings.

    Remove this particular code. The sync polarities are set by the PROM, the
    user or by the videomode.

    Signed-off-by: Alexander Kern
    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexander Kern
     
  • On a vc resize, the contents of the old screen buffer are transferred to the
    new screenbuffer. If the new screenbuffer is smaller than the old one, only
    the contents from the bottom are copied to new. If the contents of the old
    buffer are located at the top, then the contents will not be copied to the new
    buffer resulting in a blank screen.

    This bug will happen only if the vc in question is not in the foreground.
    Doing an fbset -a or con2fbmap will trigger this bug.

    To fix this problem, base the start of the copy from the location of the
    current cursor. If the cursor is near the top of the buffer, copy the
    contents at the top, and if the cursor is near the bottom of the buffer, then
    copy the contents at the bottom. In the unlikely case where the new row size
    is greater than 2x smaller than the old one, and the cursor is in the middle,
    copy 1/2 screenful from the top and bottom of the cursor position.

    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Antonino A. Daplas
     
  • Currently, the default linux 16-colors are converted to 4-colors by simply
    dividing the values by 4. However, this is not necessarily correct since the
    first 4 colors are converted to black, rendering them invisible.

    So, for black, no conversion; for light colors, convert to gray, for normal
    text color, no conversion, and for bright colors, convert to intense white.

    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    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: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Antonino A. Daplas
     
  • If nvidiafb fails to probe the EDID block, get the EDID from the BIOS.

    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Antonino A. Daplas
     
  • - Fallback to firmware EDID if chipset has no DDC/I2C support or if I2C
    probing failed

    - Add fb_blank hook

    - Fix savagefb_suspend/resume to enable driver to successfully suspend and
    resume from S3, memory or disk

    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    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: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Antonino A. Daplas
     
  • Geode framebuffer driver updates:

    - Local mode list (taken from modedb.c) containing only relevant modes.
    This also makes the driver work as a module.

    - Make it a PCI driver (from James Simmons ).

    - A few other minor cosmetic bits and pieces.

    Signed-off-by: David Vrabel
    Signed-off-by: James Simmons
    Cc: "Antonino A. Daplas"
    Signed-off-by: Adrian Bunk
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Vrabel
     
  • This patch removes drivers that have hardware cursors from calling the
    software cursor code. Also if the driver sets a no hardware cursor flag
    then the driver reports a error it someone attempts to use the cursor.

    Signed-off-by: James Simmons
    Cc: "Antonino A. Daplas"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    James Simmons
     
  • Add rudimentary support by manipulating the VGA registers. However, not
    all vesa modes are VGA compatible, so VGA compatiblity is checked first.
    Only 2 levels are supported, powerup and powerdown.

    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    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: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Antonino A. Daplas