Skip to content

Add Icelake support in SOF#30

Merged
plbossart merged 2 commits into
thesofproject:topic/sof-devfrom
RanderWang:icelake
Jul 20, 2018
Merged

Add Icelake support in SOF#30
plbossart merged 2 commits into
thesofproject:topic/sof-devfrom
RanderWang:icelake

Conversation

@RanderWang

@RanderWang RanderWang commented Jul 12, 2018

Copy link
Copy Markdown

Add corresponding data structure and refine block read & write function to make it work on Icelake.

Test the patch on APL, CNL and ICL, pass

@plbossart plbossart left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could take the first and last patches.
The second patch which deals with non-aligned things isn't clear to me. I just don't get why memcpy_to/fromio isn't sufficient or what the root cause of the problem is.

@RanderWang

Copy link
Copy Markdown
Author

Yes, it is the first time I get this issue. I just know this type of limitation in PCI device yesterday
And I will discuss with audio PEG guys to get some HW info

The original function makes a mistake. It changes the value
of dest data to zero but these data are out of write range

Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
Icelake shares the setting of cannonlake because no difference
between them in host

Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
@RanderWang

RanderWang commented Jul 20, 2018

Copy link
Copy Markdown
Author

update my patch, only the first and last patches are reserved

For second patch, I will fix the issue in another way. I will refine IPC data structure to make sure its size is 4 bytes aligned

Thanks for review

@plbossart plbossart left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved. Next time please make sure the commit subject is ASoC: SOF: intel: hda to make the merges/squashes easier.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants