11 Dec, 2006

1 commit


09 Dec, 2006

1 commit


03 Oct, 2006

1 commit


27 Sep, 2006

1 commit

  • i2c-algo-bit: Discard the mdelay data struct member

    The i2c_algo_bit_data structure has an mdelay member, which is not
    used by the algorithm code (the code has always been ifdef'd out.)
    Let's discard it to save some code and memory.

    Signed-off-by: Jean Delvare
    Acked-by: Mauro Carvalho Chehab
    Cc: Adrian Bunk
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     

26 Sep, 2006

1 commit

  • Video drivers which explicitly test for messages reporting PM_EVENT_FREEZE
    will now handle PM_EVENT_PRETHAW the same way.

    Signed-off-by: David Brownell
    Cc: "Rafael J. Wysocki"
    Cc: Pavel Machek
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    David Brownell
     

11 Jul, 2006

1 commit

  • MAX_NR_CONSOLES, fg_console, want_console and last_console are more of a
    function of the VT layer than the TTY one. Moving these to vt.h and vt_kern.h
    allows all of the framebuffer and VT console drivers to remove their
    dependency on tty.h.

    [akpm@osdl.org: fix alpha build]
    Signed-off-by: Jon Smirl
    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jon Smirl
     

01 Jul, 2006

1 commit


27 Jun, 2006

3 commits

  • Whitespace cleanup

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

    Antonino A. Daplas
     
  • Reported by: Rich (Bugzilla Bug 6417)

    "if savage driver is used in x.org together with savagefb, it results in
    seriously garbled and distorted screen - coupled with severe slowdowns."

    This bug is the result of Xorg unable to handle savagefb altering the
    hardware which results in X failing to start properly and/or failed console
    switching.

    Add savagefb_state_save and savagefb_state_restore. These hooks will only
    save and restore the extended VGA registers. Standard VGA registers will be
    left alone. This is enough to make savagefb play nicely with the latest
    Xorg savage driver, and perhaps with savage DRI. (Transient screen artifacts
    may appear before X loads and during console switches).

    (Unfortunately, blanking the screen also leaves Xorg in a blanked state, so I
    have to unblank the screen before Xorg loads. So I doubt if the transient
    screen artifacts will be completely invisible but hopefully it will only be
    for a shorter duration (not much).)

    [akpm@osdl.org: cleanups]
    Signed-off-by: Antonino Daplas
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Antonino A. Daplas
     
  • Allocate space for 2 register states: 'current' for the current state of
    the hardware, and 'saved', to be used for restoring the hardware to a sane
    state. This is in preparation for the addition of state save and restore
    hooks to make savagefb work together with the latest Xorg savage driver.

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

    Antonino A. Daplas
     

20 Apr, 2006

2 commits

  • Fix modpost section mismatch warnings in savagefb driver:

    WARNING: drivers/video/savage/savagefb.o - Section mismatch: reference to .init.text: from .exit.text after 'savagefb_remove' (at offset 0x66)
    WARNING: drivers/video/savage/savagefb.o - Section mismatch: reference to .init.text: from .exit.text after 'savagefb_remove' (at offset 0x6e)
    WARNING: drivers/video/savage/savagefb.o - Section mismatch: reference to .init.text: from .text.savagefb_resume after 'savagefb_resume' (at offset 0x70)

    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • Fix the following section mismatch:

    WARNING: drivers/video/savage/savagefb.o - Section mismatch: reference to .init.data: from .text.savagefb_probe after 'savagefb_probe' (at offset 0x5e2)

    Signed-off-by: Jean Delvare
    Cc: "Antonino A. Daplas"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jean Delvare
     

28 Mar, 2006

1 commit


12 Mar, 2006

1 commit


11 Jan, 2006

3 commits


09 Nov, 2005

1 commit

  • The driver unconditionally sets xpanstep to 2. However, a value of 4
    empirically works better at bpp = 8, and 2 for 16 and 32. This buglet was
    exposed by the rotation code.

    Second fix is the unconditional call to update_start() without verifying if
    the offsets are correct. Remove this call, it's not necessary and secondly,
    it causes a crash with invalid values.

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

    Antonino A. Daplas
     

07 Nov, 2005

3 commits

  • Convert i810fb, nvidiafb and savagefb to use the fb_find_best_display helper
    when searching for the initial video mode.

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

    Antonino A. Daplas
     
  • Use MMIO registers instead of banging the VGA IO registers.

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

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

    Antonino A. Daplas
     

15 Sep, 2005

1 commit


10 Sep, 2005

3 commits


06 Sep, 2005

1 commit

  • In theory, there should be no more users of I2C_ALGO_* at this point.
    However, it happens that several drivers were using I2C_ALGO_* for
    adapter ids, so we need to correct these before we can get rid of all
    the I2C_ALGO_* definitions.

    Note that this also fixes a bug in media/video/tvaudio.c:

    /* don't attach on saa7146 based cards,
    because dedicated drivers are used */
    if ((adap->id & I2C_ALGO_SAA7146))
    return 0;

    This test was plain broken, as it would succeed for many more adapters
    than just the saa7146: any those id would share at least one bit with
    the saa7146 id. We are really lucky that the few other adapters we want
    this driver to work with did not fulfill that condition.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     

05 Sep, 2005

1 commit


08 Jul, 2005

1 commit


22 Jun, 2005

1 commit


26 Apr, 2005

1 commit


17 Apr, 2005

2 commits

  • This fixes u32 vs. pm_message_t confusion in drivers/video. Should change no
    code.

    Signed-off-by: Pavel Machek
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Pavel Machek
     
  • 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!

    Linus Torvalds