Skip to content

[BUG] addition of AMD_HS breaks backwards compatibility #6615

Closed

Description

@plbossart

Activity

  1. added
    bugSomething isn't working as expected
    P1Blocker bugs or important features
    on Nov 16, 2022
  2. plbossart commented on Nov 16, 2022

    @plbossart
    MemberAuthor

    To make things worse, new DAI types were added to the kernel definitions but not in the SOF tree. WTH?

    kernel:

    /** \brief Types of DAI */
    enum sof_ipc_dai_type {
    	SOF_DAI_INTEL_NONE = 0,		/**< None */
    	SOF_DAI_INTEL_SSP,		/**< Intel SSP */
    	SOF_DAI_INTEL_DMIC,		/**< Intel DMIC */
    	SOF_DAI_INTEL_HDA,		/**< Intel HD/A */
    	SOF_DAI_INTEL_ALH,		/**< Intel ALH  */
    	SOF_DAI_IMX_SAI,		/**< i.MX SAI */
    	SOF_DAI_IMX_ESAI,		/**< i.MX ESAI */
    	SOF_DAI_AMD_BT,			/**< AMD ACP BT*/
    	SOF_DAI_AMD_SP,			/**< AMD ACP SP */
    	SOF_DAI_AMD_DMIC,		/**< AMD ACP DMIC */
    	SOF_DAI_AMD_HS,			/**< Amd HS */
    	SOF_DAI_MEDIATEK_AFE,		/**< Mediatek AFE */
    	SOF_DAI_AMD_SP_VIRTUAL,		/**< AMD ACP SP VIRTUAL */
    	SOF_DAI_AMD_HS_VIRTUAL,		/**< AMD ACP HS VIRTUAL */
    };
    

    firmware

    /** \brief Types of DAI */
    enum sof_ipc_dai_type {
    	SOF_DAI_INTEL_NONE = 0,		/**< None */
    	SOF_DAI_INTEL_SSP,		/**< Intel SSP */
    	SOF_DAI_INTEL_DMIC,		/**< Intel DMIC */
    	SOF_DAI_INTEL_HDA,		/**< Intel HD/A */
    	SOF_DAI_INTEL_ALH,		/**< Intel ALH */
    	SOF_DAI_IMX_SAI,                /**< i.MX SAI */
    	SOF_DAI_IMX_ESAI,               /**< i.MX ESAI */
    	SOF_DAI_AMD_BT,			/**< Amd BT */
    	SOF_DAI_AMD_SP,			/**< Amd SP */
    	SOF_DAI_AMD_DMIC,		/**< Amd DMIC */
    	SOF_DAI_AMD_HS,			/**< Amd HS */
    	SOF_DAI_MEDIATEK_AFE            /**< Mtk AFE */
    };
    
  3. ranj063 commented on Nov 16, 2022

    @ranj063
    Collaborator

    To make things worse, new DAI types were added to the kernel definitions but not in the SOF tree. WTH?
    @plbossart I asked this question in the kernel PR but it was merged even before

  4. mengdonglin commented on Dec 6, 2022

    @mengdonglin
    Collaborator

    Fixes merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Blocker bugs or important featuresbugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions