alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/10] ALSA: Add DSP firmware loader (v3)
@ 2012-09-21  3:29 Ian Minett
  2012-09-21  3:29 ` [PATCH 01/10] ALSA: Make snd_sgbuf_get_{ptr|addr}() available for non-SG cases Ian Minett
                   ` (10 more replies)
  0 siblings, 11 replies; 16+ messages in thread
From: Ian Minett @ 2012-09-21  3:29 UTC (permalink / raw)
  To: patch; +Cc: alsa-devel, Ian Minett

From: Ian Minett <ian_minett@creativelabs.com>

Hi, thanks for the response. I've resubmitted the patch series with updates 
to the ones that needed altering based on the feedback.

The MODULE_FIRMWARE line has been shifted to the firmware loading patch, 
DSP download is now guarded by the config switch and code changes that were 
bundled in with the previous comments patch have moved to a new patch. Also, 
hda_stream_format has been removed.

Regarding the SCP packet endianness, the DSP image requires data to be sent as
little-endian, so we may need to swizzle data being sent to the DSP before the
transfer. Is there a recommended or standard way of detecting and handling the 
case of running on big-endian architectures?

>Does the firmware on chip survive after S3?
The firmware does need to be reloaded when the chip loses power, so it 
doesn't survive S3.

Thanks very much,
- Ian

Signed-off-by: Ian Minett <ian_minett@creativelabs.com>

---
1:
- memalloc.h
- pcm.h
- pcm_memory.c
- sgbuf.c
Include Takashi's patch:
Make snd_sgbuf_get_{ptr|addr}() available for non-SG cases.
Passing struct snd_dma_buffer pointer instead, so that they work no
matter whether real SG buffer is used or not.

2:
- hda_intel.c
- hda_codec.h
Include Takashi's code:
Pass DMA buffer pointers in calls to setup_bdle().
Add DSP loader callback routines to controller.

Add new DSP loader switch to Kconfig to enable DSP firmware loading.

3:
- patch_ca0132.c
- ca0132_regs.h
Add DSP register definitions header file

4 (updated):
- patch_ca0132.c
Add DSP firmware enums and defs to CA0132 codec
MODULE_FIRMWARE not declared in this patch, moved into patch #5

5 (updated):
- patch_ca0132.c
Add calls to new DSP loader system to transfer firmware binary
to the hardware.
Add chip read/write routines, DSP I/O, SCP packet format
helper functions and transfer DMA management.
Add MODULE_FIRMWARE line for DSP firmware binary
Protect DSP download using CONFIG_SND_HDA_DSP_LOADER switch 

6:
- patch_ca0132.c
Add DSP firmware caching to CA0132 codec

7 (updated):
- patch_ca0132.c
Add comments and descriptions to functions.
Previous code changes moved to patch #9

8:
- hda_codec.h
Change return value for load_dsp_prepare to -ENOSYS
in case where DSP loader routines are not available.

9 (new):
- patch_ca0132.c
Merge chipio write address functions and update timeout mechanism
in dsp_write_wait().

10 (new):
- patch_ca0132.c
Remove unnecessary struct hda_stream_format and references to it.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-10-08  8:07 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-21  3:29 [PATCH 0/10] ALSA: Add DSP firmware loader (v3) Ian Minett
2012-09-21  3:29 ` [PATCH 01/10] ALSA: Make snd_sgbuf_get_{ptr|addr}() available for non-SG cases Ian Minett
2012-09-21  3:29 ` [PATCH 02/10] ALSA: Add new DSP loader callback routines Ian Minett
2012-09-21  3:29 ` [PATCH 03/10] ALSA: Add CA0132 register definitions file Ian Minett
2012-09-21  3:29 ` [PATCH 04/10] ALSA: Add DSP firmware enums and defs to CA0132 codec Ian Minett
2012-09-21  3:29 ` [PATCH 05/10] ALSA: Update CA0132 codec to load DSP firmware binary Ian Minett
2012-09-21  3:29 ` [PATCH 06/10] ALSA: Add firmware caching to CA0132 codec Ian Minett
2012-09-25 11:26   ` Mark Brown
2012-10-08  7:49     ` Takashi Iwai
2012-10-08  8:01       ` Mark Brown
2012-10-08  8:07         ` Takashi Iwai
2012-09-21  3:29 ` [PATCH 07/10] ALSA: Add comments and descriptions to CA0132 functions Ian Minett
2012-09-21  3:29 ` [PATCH 08/10] ALSA: Change return value for load_dsp_prepare() to -ENOSYS Ian Minett
2012-09-21  3:29 ` [PATCH 09/10] ALSA: Update chipio functions and DSP write wait timeout Ian Minett
2012-09-21  3:29 ` [PATCH 10/10] ALSA: Remove unnecessary struct hda_stream_format from CA0132 Ian Minett
2012-09-21  8:14 ` [PATCH 0/10] ALSA: Add DSP firmware loader (v3) Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).