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

MTL graphics #132

Merged
merged 2 commits into from
Jun 14, 2024
Merged

MTL graphics #132

merged 2 commits into from
Jun 14, 2024

Conversation

mkopec
Copy link
Member

@mkopec mkopec commented May 22, 2024

No description provided.

benjamindoron and others added 2 commits June 14, 2024 16:10
There is an assumption in `IsPciDeviceRejected()` (at least for I/O)
that a BAR with all read-write bits set is invalid. However, this is not
the case: when a resource is size-aligned down from the top, this may
also be the case.

This code causes the rejection of the iGPU (and therefore, display) in
some cases with the UefiPayloadPkg, when the coreboot
ESOURCE_ALLOCATION_TOP_DOWN config is enabled. It remains to be seen
whether this code addresses some other issue.

Signed-off-by: Benjamin Doron <[email protected]>
@miczyg1 miczyg1 merged commit f053a43 into dasharo Jun 14, 2024
3 checks passed
@miczyg1 miczyg1 deleted the fix_mtl_gfx branch June 14, 2024 14:24
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.

3 participants