Page MenuHomeFreeBSD

pci_early_quirk: Sync with drm-v5.0 (+extras)
Needs ReviewPublic

Authored by manu on Mar 22 2020, 6:09 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 28, 5:39 PM
Unknown Object (File)
Sun, Apr 28, 5:39 PM
Unknown Object (File)
Sun, Apr 28, 9:41 AM
Unknown Object (File)
Oct 6 2023, 10:21 AM
Unknown Object (File)
Jan 1 2023, 4:30 AM
Unknown Object (File)
Nov 27 2022, 10:28 AM

Details

Reviewers
kib
johalun
gnn
Summary

This adds all the current gen9 pci ids that were missing :

  • Some new coffee lake, kaby lake and whiskey lake ids
  • Comet lake ids (which is also gen9 but not yet supported by drm-devel-kmod)
Test Plan

Only build tested, I need @gnn to test on his laptop.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Looks good to me, but I didn't verify the ids

In D24143#530986, @imp wrote:

Looks good to me, but I didn't verify the ids

IDS were taken from https://github.com/evadot/kms-drm/blob/drm-v5.0-comet-lake/include/drm/i915_pciids.h (which this file originated from).

Ok, but this pci_early_stuff shall be removed from the kernel. It was added with the promise that eventually code will be finished (by outguessing broken BIOSes and reserving the phys memory before VM takes hold on it). This never happen and right now it is just space taken in the kernel text.

It would live a more happy life in the driver instead.

In D24143#531016, @kib wrote:

Ok, but this pci_early_stuff shall be removed from the kernel. It was added with the promise that eventually code will be finished (by outguessing broken BIOSes and reserving the phys memory before VM takes hold on it). This never happen and right now it is just space taken in the kernel text.

It would live a more happy life in the driver instead.

Ok, I could have a look at this later.
This doesn't seems to help @gnn anyway so no need for this to be commited now.