1. 25 7月, 2007 2 次提交
  2. 24 7月, 2007 2 次提交
    • A
      sh: Fix Dreamcast DMA issues. · eb695dbf
      Adrian McMenamin 提交于
      The current SH DMA API is somewhat broken, not correctly matching
      virtual channel to the correct SH DMAC. This wasn't noticeable when
      using g2 DMA for the sound driver - one channel 0 is as good as any
      other! - but caused the pvr2 driver to fail.
      
      This patch fixes the pvr2 problem and consequently fixes the sound
      driver to ensure it continues to function.
      
      Signed-off by: Adrian McMenamin <adrian@mcmen.demon.co.uk>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      eb695dbf
    • P
      sh: Add kmap_coherent()/kunmap_coherent() interface for SH-4. · 8cf1a743
      Paul Mundt 提交于
      This wires up kmap_coherent() and kunmap_coherent() on SH-4, and
      moves away from the p3map_mutex and reserved P3 space, opting to
      use fixmaps for colouring instead.
      
      The copy_user_page()/clear_user_page() implementations are moved
      to this, which fixes the nasty blowups with spinlock debugging
      as a result of having some of these calls nested under the page
      table lock.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      8cf1a743
  3. 23 7月, 2007 36 次提交