Skip to content

Commit 018aac6

Browse files
yakuizhaolijinxia
authored andcommitted
DM: Add UOS boot option of "i915.enable_guc_loading=0" to fix incorrect memory allocation on APL-NUC
The Global GTT on i915 GPU is allocated from SOS based on the partition rule. As there is no parameter of "enable_guc_loading" for UOS, it causes that the allocated range of Global GTT is beyond the supported range on UOS. Then the i915 driver fails to be loaded. V1->V2: Fix one typo error. It should be "i915.enable_guc_loading=0" instead of "i915.enable_guc_loading=1". Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> Reviewed-by: He, Min <min.he@intel.com>
1 parent 0985934 commit 018aac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devicemodel/samples/nuc/launch_uos.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ acrn-dm -A -m $mem_size -c $2 -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio \
2929
-B "root=/dev/vda3 rw rootwait maxcpus=$2 nohpet console=tty0 console=hvc0 \
3030
console=ttyS0 no_timer_check ignore_loglevel log_buf_len=16M \
3131
consoleblank=0 tsc=reliable i915.avail_planes_per_pipe=$4 \
32-
i915.enable_hangcheck=0 i915.nuclear_pageflip=1" $vm_name
32+
i915.enable_hangcheck=0 i915.nuclear_pageflip=1 i915.enable_guc_loading=0" $vm_name
3333
}
3434

3535
launch_clear 2 1 "64 448 8" 0x070F00 clear

0 commit comments

Comments
 (0)