Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DMI remap for rebranded Intel NUC M15 (LAPRC710) laptops #4744

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

mosomate
Copy link

Discussed in #4218. This DMI remapping problem was partially handled in #4088. But this solution doesn't work for rebranded versions of the NUC M15 laptop (like Schenker, XPG, etc...). I added a more generic DMI quirk based on the motherboard attributes.

@sofci
Copy link
Collaborator

sofci commented Dec 10, 2023

Can one of the admins verify this patch?

reply test this please to run this test once

.driver_data = (void *)(SOF_SDW_TGL_HDMI |
SOF_SDW_PCH_DMIC |
RT711_JD2_100K),
},
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we remove the /* NUC15 'Rooks County' LAPRC510 and LAPRC710 skews */ entry if this is more generic?

Copy link
Author

Choose a reason for hiding this comment

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

I'd say no. My suggestion is more generic, but handles only the LAPRC710 version (genuine Intel and rebranded variants as well). The entry above my suggestion handles both LAPRC510 and LAPRC710 versions, but only the genuine Intel variants. As much as I know, the LAPRC510 wasn't rebranded and marketed that way, so it doesn't need to be handled "in a generic" way. I think if we leave the code in this state it handles all the cases.

@@ -130,6 +130,14 @@ static const struct dmi_system_id adr_remap_quirk_table[] = {
},
.driver_data = (void *)intel_rooks_county,
},
{
Copy link
Collaborator

Choose a reason for hiding this comment

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

@mosomate please modify the commit title include the prefix and add a proper commit message along with your sign-off and link to the issue.

Copy link
Author

Choose a reason for hiding this comment

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

@ranj063 I modified the commit message. I hope it fulfills the guidelines now. I'm sorry, this is my first time contributing to the linux kernel.

… laptops

Added DMI quirk to handle the rebranded variants of Intel NUC M15 (LAPRC710) laptops. The DMI matching is based on motherboard attributes.

Link: thesofproject#4218
Signed-off-by: Máté Mosonyi <mosomate@gmail.com>
Copy link
Member

@plbossart plbossart left a comment

Choose a reason for hiding this comment

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

thanks @mosomate.

@plbossart
Copy link
Member

test this please

@plbossart plbossart merged commit faf0056 into thesofproject:topic/sof-dev Dec 19, 2023
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.

5 participants