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

2025 01 19 02 #92

Draft
wants to merge 2 commits into
base: celadon/u/mr0/master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion drivers/gpu/drm/i915/i915_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1042,6 +1042,7 @@ static void gfx_out_of_tree_load(struct device *dev)
gfx_load_module(buf, fw->size, NULL);
DRM_INFO("compat loaded\n");

/*
err = firmware_request_nowarn(&fw, "i915/intel_vsec.ko", dev);
if (err) {
DRM_ERROR("intel_vsec load failed: %d\n", err);
Expand All @@ -1051,6 +1052,7 @@ static void gfx_out_of_tree_load(struct device *dev)
memcpy(buf, fw->data, fw->size);
gfx_load_module(buf, fw->size, NULL);
DRM_INFO("intel_vsec loaded\n");
*/

err = firmware_request_nowarn(&fw, "i915/i915_ag.ko", dev);
if (err) {
Expand All @@ -1059,7 +1061,7 @@ static void gfx_out_of_tree_load(struct device *dev)
}
buf = __vmalloc((unsigned long)fw->size, GFP_KERNEL | __GFP_NOWARN);
memcpy(buf, fw->data, fw->size);
gfx_load_module(buf, fw->size, "nuclear_pageflip=1 enable_guc=0x7 max_vfs=7 modeset=1 fastboot=1");
gfx_load_module(buf, fw->size, "enable_guc=0x3 max_vfs=7 modeset=1 fastboot=1");
DRM_INFO("i915_ag loaded\n");
}

Expand Down
Loading