1. 20 2月, 2007 4 次提交
    • R
      backlight: Rework backlight/fb interaction simplifying, lots · 37ce69a5
      Richard Purdie 提交于
      fb_info->bl_mutex is badly thought out and the backlight class doesn't
      need it if the framebuffer/backlight register/unregister order is
      consistent, particularly after the backlight locking fixes.
      
      Fix the drivers to use the order:
      
      backlight_device_register()
      register_framebuffer()
      unregister_framebuffer()
      backlight_device_unregister()
      
      and turn bl_mutex into a lock for the bl_curve data only.
      Signed-off-by: NRichard Purdie <rpurdie@rpsys.net>
      37ce69a5
    • R
      backlight: Remove unneeded backlight update_status calls · b5c6916b
      Richard Purdie 提交于
      The backlight core listens for blanking events and triggers a
      backlight_update_status call so these extra calls are not
      needed and can be removed.
      Signed-off-by: NRichard Purdie <rpurdie@rpsys.net>
      b5c6916b
    • R
      backlight: Fix external uses of backlight internal semaphore · 28ee086d
      Richard Purdie 提交于
      backlight_device->sem has a very specific use as documented in the
      header file. The external users of this are using it for a different
      reason, to serialise access to the update_status() method.
      
      backlight users were supposed to implement their own internal
      serialisation of update_status() if needed but everyone is doing
      things differently and incorrectly. Therefore add a global mutex to
      take care of serialisation for everyone, once and for all.
      
      Locking for get_brightness remains optional since most users don't
      need it.
      
      Also update the lcd class in a similar way.
      Signed-off-by: NRichard Purdie <rpurdie@rpsys.net>
      28ee086d
    • R
      backlight: Remove unneeded owner field · dfcba200
      Richard Purdie 提交于
      Remove uneeded owner field from backlight_properties structure.
      
      Nothing uses it and it is unlikely that it will ever be used. The
      backlight class uses other means to ensure that nothing references
      unloaded code.
      
      Based on a patch from Dmitry Torokhov <dtor@insightbb.com>
      Signed-off-by: NRichard Purdie <rpurdie@rpsys.net>
      dfcba200
  2. 20 12月, 2006 1 次提交
  3. 09 12月, 2006 1 次提交
  4. 02 9月, 2006 1 次提交
  5. 31 8月, 2006 1 次提交
  6. 06 8月, 2006 1 次提交
    • O
      [PATCH] crash in aty128_set_lcd_enable() on PowerBook · c3760ae1
      Olaf Hering 提交于
      Current Linus tree crashes in aty128_set_lcd_enable() because par->pdev
      is NULL. This happens since at least a week. Call trace is:
      
      aty128_set_lcd_enable
      aty128fb_set_par
      fbcon_init
      visual_init
      take_over_console
      fbcon_takeover
      notifier_call_chain
      blocking_notifier_call_chain
      register_framebuffer
      aty128fb_probe
      pci_device_probe
      bus_for_each_dev
      driver_attach
      bus_add_driver
      driver_register
      __pci_register_driver
      aty128fb_init
      init
      kernel_thread
      
      - info->fix was assigned twice.
      
      - par->vram_size is assigned in aty128_probe(), no need to redo it again
        in aty128_init()
      
      - register_framebuffer() uses uninitialized struct members, move it past
        par->pdev assignment and past aty128_bl_init().
      Signed-off-by: NOlaf Hering <olh@suse.de>
      Acked-by: NAntonino Daplas <adaplas@pol.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      c3760ae1
  7. 01 8月, 2006 1 次提交
  8. 11 7月, 2006 2 次提交
  9. 01 7月, 2006 1 次提交
  10. 27 6月, 2006 1 次提交
  11. 26 6月, 2006 1 次提交
  12. 28 3月, 2006 2 次提交
  13. 12 3月, 2006 1 次提交
  14. 15 1月, 2006 1 次提交
  15. 07 11月, 2005 1 次提交
    • 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
  16. 10 9月, 2005 1 次提交
  17. 05 9月, 2005 1 次提交
  18. 28 6月, 2005 1 次提交
  19. 17 4月, 2005 2 次提交
    • B
      [PATCH] ppc32: Fix AGP and sleep again · 0c541b44
      Benjamin Herrenschmidt 提交于
      My previous patch that added sleep support for uninorth-agp and some AGP
      "off" stuff in radeonfb and aty128fb is breaking some configs.  More
      specifically, it has problems with rage128 setups since the DRI code for
      these in X doesn't properly re-enable AGP on wakeup or console switch
      (unlike the radeon DRM).
      
      This patch fixes the problem for pmac once for all by using a different
      approach.  The AGP driver "registers" special suspend/resume callbacks with
      some arch code that the fbdev's can later on call to suspend and resume
      AGP, making sure it's resumed back in the same state it was when suspended.
       This is platform specific for now.  It would be too complicated to try to
      do a generic implementation of this at this point due to all sort of weird
      things going on with AGP on other architectures.  We'll re-work that whole
      problem cleanly once we finally merge fbdev's and DRI.
      
      In the meantime, please apply this patch which brings back some r128 based
      laptops into working condition as far as system sleep is concerned.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      0c541b44
    • 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