1. 25 3月, 2009 1 次提交
  2. 23 3月, 2009 1 次提交
  3. 16 3月, 2009 1 次提交
  4. 11 3月, 2009 2 次提交
    • B
      radeonfb/aty128fb: Disable broken early resume hook for PowerBooks · d801cec7
      Benjamin Herrenschmidt 提交于
      radeonfb and aty128fb have a special hook called by the PowerMac platform
      code very very early on resume from sleep to bring the screen back. This
      is useful for debugging wakup problems, but unfortunately, this also became
      a source of problems of its own.
      
      The hook is called extremely early, with interrupts still off, and the code
      path involved with that code nowadays rely on things like taking mutexes,
      GFP_KERNEL allocations, etc...
      
      In addition, the driver now relies on the PCI core to restore the standard
      config space before calling resume which doesn't happen with this early
      code path.
      
      I'm keeping the code in but commented out along with a fixup call to
      pci_restore_state(). The reason is that I still want to make it easy to
      re-enable temporarily to track wake up problems, and it's possible that
      I can revive it at some stage if we make sleeping things save to call
      in early resume using a system state.
      
      In the meantime, this should fix several reported regressions.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      d801cec7
    • S
      i810: fix kernel crash fix when struct fb_var_screeninfo is supplied · 16b71fdf
      Samuel CUELLA 提交于
      Prevent the kernel from being crashed by a divide-by-zero operation when
      supplied an incorrectly filled 'struct fb_var_screeninfo' from userland.
      
      Previously i810_main.c:1005 (i810_check_params) was using the global
      'yres' symbol previously defined at i810_main.c:145 as a module parameter
      value holder (i810_main.c:2174).  If i810fb is compiled-in or if this
      param doesn't get a default value, this direct usage leads to a
      divide-by-zero at i810_main.c:1005 (i810_check_params).  The patch simply
      replace the 'yres' global, perhaps undefined symbol usage by a given
      parameter structure lookup.
      
      This problem occurs with directfb, mplayer -vo fbdev, SDL library.
      It was also reported ( but non solved ) at:
      
      	http://mail.directfb.org/pipermail/directfb-dev/2008-March/004050.htmlSigned-off-by: NSamuel CUELLA <samuel.cuella@supinfo.com>
      Cc: Jiri Kosina <jkosina@suse.cz>
      Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      16b71fdf
  5. 10 3月, 2009 1 次提交
    • M
      video: deferred io cleanup fix for sh_mobile_lcdcfb · 467fc498
      Magnus Damm 提交于
      Fix deferred io cleanup patch in the sh_mobile_lcdcfb driver.
      
      If probe() fails early the sh_mobile_lcdc_stop() function will
      be called to clean up deferred io. This patch modifies the
      code to only call fb_deferred_io_cleanup() after deferred io
      has been initialized.
      
      With this patch applied we no longer hit BUG_ON() inside
      fb_deferred_io_cleanup(). Triggers on a Migo-R with the
      SYS QVGA panel board unmounted.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      467fc498
  6. 04 3月, 2009 1 次提交
    • R
      [ARM] fix lots of ARM __devexit sillyness · bdf602bd
      Russell King 提交于
      `iop_adma_remove' referenced in section `.data' of drivers/built-in.o: defined in discarded section `.devexit.text' of drivers/built-in.o
      `mv_xor_remove' referenced in section `.data' of drivers/built-in.o: defined in discarded section `.devexit.text' of drivers/built-in.o
      `mv64xxx_i2c_unmap_regs' referenced in section `.devinit.text' of drivers/built-in.o: defined in discarded section `.devexit.text' of drivers/built-in.o
      `mv64xxx_i2c_remove' referenced in section `.data' of drivers/built-in.o: defined in discarded section `.devexit.text' of drivers/built-in.o
      `orion_nand_remove' referenced in section `.data' of drivers/built-in.o: defined in discarded section `.devexit.text' of drivers/built-in.o
      `pxafb_remove' referenced in section `.data' of drivers/built-in.o: defined in discarded section `.devexit.text' of drivers/built-in.o
      Acked-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      bdf602bd
  7. 23 2月, 2009 1 次提交
  8. 21 2月, 2009 1 次提交
  9. 19 2月, 2009 1 次提交
  10. 12 2月, 2009 4 次提交
  11. 09 2月, 2009 3 次提交
  12. 08 2月, 2009 1 次提交
    • I
      drm/i915: select framebuffer support automatically · d2f59357
      Ingo Molnar 提交于
      Migration helper.
      
      The i915 driver recently added a 'depends on FB' rule to its
      Kconfig entry - which silently turns off DRM_I915 if someone
      has a working config but no CONFIG_FB selected, and upgrades
      to the latest upstream kernel.
      
      Norbert Preining reported this problem:
      
         Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=12599
         Subject     : dri /dev node disappeared with 2.6.29-rc1
      
      So change it to "select FB", which auto-selects framebuffer
      support. This way the driver keeps working, regardless of
      whether FB was enabled before or not.
      
      Kconfig select's of interactive options can be problematic to
      dependencies and can cause build breakages - but in this case
      it's safe because it's a leaf entry with no dependencies of its
      own.
      
      ( There is some minor circular dependency fallout as FB_I810
        and FB_INTEL also used 'depends on FB' constructs - update
        those to "select FB" too. )
      Reported-by: NNorbert Preining <preining@logic.at>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      d2f59357
  13. 06 2月, 2009 3 次提交
  14. 02 2月, 2009 1 次提交
    • R
      fbdev/atyfb: Fix DSP config on some PowerMacs & PowerBooks · 7fbb7cad
      Risto Suominen 提交于
      Since the complete re-write in 2.6.10, some PowerMacs (At least PowerMac 5500
      and PowerMac G3 Beige rev A) with ATI Mach64 chip have suffered from unstable
      columns in their framebuffer image. This seems to depend on a value (4) read
      from PLL_EXT_CNTL register, which leads to incorrect DSP config parameters to
      be written to the chip. This patch uses a value calculated by aty_init_pll_ct
      instead, as a starting point.
      
      There are questions as to whether this should be extended to other platforms
      or maybe made dependent on specific chip types, but in the meantime, this has
      been tested on various powermacs and works for them so let's commit it.
      Signed-off-by: NRisto Suominen <Risto.Suominen@gmail.com>
      Tested-by: NMichael Pettersson <mike@it.uu.se>
      Cc: <stable@kernel.org>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      7fbb7cad
  15. 30 1月, 2009 1 次提交
  16. 27 1月, 2009 1 次提交
  17. 24 1月, 2009 1 次提交
  18. 22 1月, 2009 1 次提交
  19. 16 1月, 2009 2 次提交
  20. 13 1月, 2009 9 次提交
  21. 09 1月, 2009 3 次提交