[Top] [All Lists]

About MIPS specific dma_mmap_coherent()

To: Ralf Baechle <>, Takashi Iwai <>
Subject: About MIPS specific dma_mmap_coherent()
From: Wu Zhangjin <>
Date: Tue, 13 Apr 2010 12:58:54 +0800
Cc: linux-mips <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :content-type:organization:date:message-id:mime-version:x-mailer; bh=4gS7GDD/9POeqiat1zoOSfMguQjiM7NXQQm4hMi2wbg=; b=DJpnHkdMfYENDcYaM1sQJDY0PTYhveiuXQMYtDcLUzMCvt/if/h4uyyG6w1Ojvu8bN 7j/BOn7KwChVyzYlZsYnV/3mKQTq5Zh0OIormYGjJVM3KrsL5yA2xD+rXCMYFEZEdm92 GjXg6DUfNxcRXbKyeBXgxot1jcTjB85Jxv2Y0=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=subject:from:reply-to:to:cc:content-type:organization:date :message-id:mime-version:x-mailer; b=MnKBNuD8coSbO/iM37HhnaApcSAnk6V2IDmO6YjtzQShZegcTL+x2eBDmz/B0AQvBi 4yETfAInC3Nns76uDhNais1bXzcB+kktkPcaowK1PWzB/9VeKZDxscLit7aHZRXD7c4b IPnvGoRV0c9/AbJBtBmr+KTl3nfvXHU1WMquA=
Organization: DSLab, Lanzhou University, China
Original-recipient: rfc822;
Hi, Ralf and Takashi

Seems Takashi have sent the MIPS specific dma_mmap_coherent() at 18 Aug

But that patch have not been accepted since it was not suitable to all
of the MIPS variants.

Without that patch, the ALSA output will be broken in some of the MIPS
variants, can we make the implementation in the above url be weak, then
the particular MIPS variants can override it with their own versions but
the common MIPS variants can share it to fix the ALSA problem?

I have attached a change of the above patch, which is applicable to the
linux-2.6.33 and linux-2.6.34-rcX and I have tested it on my YeeLoong
netbook, the following command function well with it.

$ mplayer -ao alsa file.mp3

but without it, the ALSA output is broken.

        Wu Zhangjin

Attachment: 0001-MIPS-Implement-dma_mmap_coherent-for-ALSA-audio-outp.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>