intel_fb: add dummy for ZimaBlade support

When booting Sculpt OS on the ZimaBlade, `i915_vm_free_pt_stash` is
called. Providing an empty dummy implementation fixes the issue.

Fixes #5145
This commit is contained in:
Johannes Schlatow 2024-03-15 17:22:29 +01:00 committed by Christian Helmuth
parent 609a065503
commit b67df08c9d
2 changed files with 7 additions and 7 deletions

View File

@ -844,3 +844,10 @@ void mark_page_accessed(struct page * page)
{
lx_emul_trace(__func__);
}
extern void i915_vm_free_pt_stash(struct i915_address_space * vm,struct i915_vm_pt_stash * stash);
void i915_vm_free_pt_stash(struct i915_address_space * vm,struct i915_vm_pt_stash * stash)
{
lx_emul_trace(__func__);
}

View File

@ -1121,13 +1121,6 @@ int i915_vm_alloc_pt_stash(struct i915_address_space * vm,struct i915_vm_pt_stas
}
extern void i915_vm_free_pt_stash(struct i915_address_space * vm,struct i915_vm_pt_stash * stash);
void i915_vm_free_pt_stash(struct i915_address_space * vm,struct i915_vm_pt_stash * stash)
{
lx_emul_trace_and_stop(__func__);
}
extern int i915_vm_map_pt_stash(struct i915_address_space * vm,struct i915_vm_pt_stash * stash);
int i915_vm_map_pt_stash(struct i915_address_space * vm,struct i915_vm_pt_stash * stash)
{