ASoC: SOF: Intel: pci-tgl: Allow DSPless mode
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Tue, 4 Apr 2023 09:21:15 +0000 (12:21 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 4 Apr 2023 11:42:42 +0000 (12:42 +0100)
set the dspless_mode_supported flag to true for tgl/adl family to allow
DSPless mode.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Link: https://lore.kernel.org/r/20230404092115.27949-13-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/pci-tgl.c

index 22e769e..ca37ff1 100644 (file)
@@ -30,6 +30,7 @@ static const struct sof_dev_desc tgl_desc = {
        .chip_info = &tgl_chip_info,
        .ipc_supported_mask     = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4),
        .ipc_default            = SOF_IPC,
+       .dspless_mode_supported = true,         /* Only supported for HDaudio */
        .default_fw_path = {
                [SOF_IPC] = "intel/sof",
                [SOF_INTEL_IPC4] = "intel/avs/tgl",
@@ -62,6 +63,7 @@ static const struct sof_dev_desc tglh_desc = {
        .chip_info = &tglh_chip_info,
        .ipc_supported_mask     = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4),
        .ipc_default            = SOF_IPC,
+       .dspless_mode_supported = true,         /* Only supported for HDaudio */
        .default_fw_path = {
                [SOF_IPC] = "intel/sof",
                [SOF_INTEL_IPC4] = "intel/avs/tgl-h",
@@ -93,6 +95,7 @@ static const struct sof_dev_desc ehl_desc = {
        .chip_info = &ehl_chip_info,
        .ipc_supported_mask     = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4),
        .ipc_default            = SOF_IPC,
+       .dspless_mode_supported = true,         /* Only supported for HDaudio */
        .default_fw_path = {
                [SOF_IPC] = "intel/sof",
                [SOF_INTEL_IPC4] = "intel/avs/ehl",
@@ -125,6 +128,7 @@ static const struct sof_dev_desc adls_desc = {
        .chip_info = &adls_chip_info,
        .ipc_supported_mask     = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4),
        .ipc_default            = SOF_IPC,
+       .dspless_mode_supported = true,         /* Only supported for HDaudio */
        .default_fw_path = {
                [SOF_IPC] = "intel/sof",
                [SOF_INTEL_IPC4] = "intel/avs/adl-s",
@@ -157,6 +161,7 @@ static const struct sof_dev_desc adl_desc = {
        .chip_info = &tgl_chip_info,
        .ipc_supported_mask     = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4),
        .ipc_default            = SOF_IPC,
+       .dspless_mode_supported = true,         /* Only supported for HDaudio */
        .default_fw_path = {
                [SOF_IPC] = "intel/sof",
                [SOF_INTEL_IPC4] = "intel/avs/adl",
@@ -189,6 +194,7 @@ static const struct sof_dev_desc adl_n_desc = {
        .chip_info = &tgl_chip_info,
        .ipc_supported_mask     = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4),
        .ipc_default            = SOF_IPC,
+       .dspless_mode_supported = true,         /* Only supported for HDaudio */
        .default_fw_path = {
                [SOF_IPC] = "intel/sof",
                [SOF_INTEL_IPC4] = "intel/avs/adl-n",
@@ -221,6 +227,7 @@ static const struct sof_dev_desc rpls_desc = {
        .chip_info = &adls_chip_info,
        .ipc_supported_mask     = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4),
        .ipc_default            = SOF_IPC,
+       .dspless_mode_supported = true,         /* Only supported for HDaudio */
        .default_fw_path = {
                [SOF_IPC] = "intel/sof",
                [SOF_INTEL_IPC4] = "intel/avs/rpl-s",
@@ -253,6 +260,7 @@ static const struct sof_dev_desc rpl_desc = {
        .chip_info = &tgl_chip_info,
        .ipc_supported_mask     = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4),
        .ipc_default            = SOF_IPC,
+       .dspless_mode_supported = true,         /* Only supported for HDaudio */
        .default_fw_path = {
                [SOF_IPC] = "intel/sof",
                [SOF_INTEL_IPC4] = "intel/avs/rpl",