1. 08 Aug, 2005 1 commit
  2. 02 Aug, 2005 35 commits
  3. 01 Aug, 2005 4 commits
    • Linus Torvalds's avatar
      Revert ACPI interrupt resume changes · 697a2d63
      Linus Torvalds authored
      If there are devices that use interrupts over a suspend event, ACPI must
      restore the PCI interrupt links on resume.  Anything else breaks any
      device that hasn't been converted to the new (dubious) PM rules.
      
      Drivers that need the irq free/re-aquire sequence can be done one by one
      independently of this one.
      697a2d63
    • Linus Torvalds's avatar
      Fix get_user_pages() race for write access · 4ceb5db9
      Linus Torvalds authored
      There's no real guarantee that handle_mm_fault() will always be able to
      break a COW situation - if an update from another thread ends up
      modifying the page table some way, handle_mm_fault() may end up
      requiring us to re-try the operation.
      
      That's normally fine, but get_user_pages() ended up re-trying it as a
      read, and thus a write access could in theory end up losing the dirty
      bit or be done on a page that had not been properly COW'ed.
      
      This makes get_user_pages() always retry write accesses as write
      accesses by making "follow_page()" require that a writable follow has
      the dirty bit set.  That simplifies the code and solves the race: if the
      COW break fails for some reason, we'll just loop around and try again.
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      4ceb5db9
    • Antonino A. Daplas's avatar
      [PATCH] tridentfb: Fix scrolling artifacts during disk IO · 8d894c47
      Antonino A. Daplas authored
      Reported by: Jochen Hein (Bugzilla Bug 4312)
      
      When there is disk I/O happening, the framebuffer has a little snow on
      the screen.  Once I/O has finished, no garbage remains on screen.
      
      This bug was explained by: Knut Petersen
      
      Most important is CRTC register 2f, signal quality is also improved for
      higher vclk values by changing set_vclk() according to the X drivers and
      cyblafb.c
      
      The fix is to set the performance register (0x2f) with a more stable
      value.
      Signed-off-by: default avatarAntonino Daplas <adaplas@pol.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      8d894c47
    • Antonino A. Daplas's avatar
      [PATCH] tridentfb: Fix scrolling artifacts if acceleration is enabled · 8dad46cf
      Antonino A. Daplas authored
      Reported by: Jochen Hein (Bugzilla Bug 4386)
      
      booting leaves the end of long lines in the last line on screen when
      scrolling.  When X is running, scrolling puts garbage on the screen
      (looks like X data) Console switch fixes the screen.  Behaviour seems to
      be identical with noaccel and without on the video=tridentfb parameter
      in lilo.conf.
      
      This bug was explained by: Knut_Petersen
      
      Acceleration is broken for all BLADE 3D chips for all versions of kernel
      2.6 except for 32bit modes.  Most important reason is that the u32 col
      parameter of the graphics engine needs the color value replicated to all
      u8 of the u32 (8bit modes) and to both u16 of the u32.
      
      Fix color value passed to graphics engine, verified by the reporter.
      Signed-off-by: default avatarAntonino Daplas <adaplas@pol.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      8dad46cf