-
Notifications
You must be signed in to change notification settings - Fork 68
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
Intel Arc A770: Kernel panic on kldload i915kms.ko #315
Comments
My bad, I didn't see about the "Intel DG2 GUC/HUC support" not being implemented yet from PR #283.
I'm reopening this to have it serve as a milestone issue. I figured why have it be closed anyway since the issue is still valid and my reporting could be useful? |
You may start with adding dg2_dmc_ver2_08.bin to firmwares |
But I doubt that it will help |
I'll try that out and report back. I also updated my bug description to be more specific. |
And you're right, it didn't. After trying a couple more ideas, I spent a good amount of time re-learning how to create a new core dump of the kernel panic with the firmware(s) loaded. Sorry for the delay. |
After taking a look at the code around faulted line, I have got an impression that it can happen due to missing vmap_pfn() implementation. |
It seems you're correct about the missing What I did was created this custom patch to put into my --- drivers/gpu/drm/i915/gem/i915_gem_pages.c.orig
+++ drivers/gpu/drm/i915/gem/i915_gem_pages.c
@@ -329,7 +329,7 @@ static void *i915_gem_object_map_pfn(struct drm_i915_gem_object *obj,
{
#ifdef __FreeBSD__
// BSDFIXME: Need vmap_pfn() implementation.
- return NULL;
+ panic("oops");
#else
resource_size_t iomap = obj->mm.region->iomap.base -
obj->mm.region->region.start; And rebuilt and reinstalled the package of my derived port. Then I did my usual testing and grabbed a new core dump which shows the "oops" panic. Yay! \o/ |
Describe the bug
From using a drm-kmod build from efd9167, the i915kms driver kernel panics when using an (Acer Predator BiFrost) Intel Arc A770 graphics card. And the kernel panic still persists even when using an Intel onboard GPU with the same graphics card installed.
FreeBSD version
DRM KMOD version
My own "custom derived"
graphics/drm-66-kmod
port withGH_TAGNAME
pointing to efd9167.Also git-clone(1) from linux-firmware and copied all of the
i915/dg2_*
firmware bins to /boot/modules and renamed them appropriately to match the filename style there.To Reproduce
Boot into the system with either
i915kms
usingkld_list
inside/etc/rc.conf
orkldload
it manually.Additional context
core.txt.0 dump
The text was updated successfully, but these errors were encountered: