FreeBSDDesktop / kms-drm

the DRM part of the linuxkpi-based KMS
63 stars 26 forks source link

Disable intel_gmch_probe() and intel_enable_gtt() - v4.11 fbsd11.2 #226

Closed saper closed 4 years ago

saper commented 4 years ago

This backport of #73 onto drm-v4.11-fbsd11.2 fixes https://github.com/FreeBSDDesktop/kms-drm/issues/225

While here:

They are now no-ops, like they are in drm2 in FreeBSD base.

They were used by Intel GPUs up to and including gen 5. This patch makes the driver work on those old Intel GPUs. At least it was successfully tested on an Intel 965GM coupled with an Intel Core 2 Duo from 2007.

zeising commented 4 years ago

Please separate out whitespace fixes from functional changes in different commits. Disregard this, I see that this is pulled from a different branch.

zeising commented 4 years ago

Have you used git cherry-pick? Any chance you can use -x so it's easy to see where this was picked from? (git cherry-pick -x adds a reference to the original commit in this commit message).

saper commented 4 years ago

@zeising No, I think I have merged them. No problem, the branch is now updated with two commits cherry picked with -x

zeising commented 4 years ago

Thank you!