From 018aac6b86f21c9834131319ea63ec9f08c960f6 Mon Sep 17 00:00:00 2001 From: Zhao Yakui Date: Tue, 10 Jul 2018 09:19:03 +0800 Subject: [PATCH] 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 Reviewed-by: He, Min --- devicemodel/samples/nuc/launch_uos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devicemodel/samples/nuc/launch_uos.sh b/devicemodel/samples/nuc/launch_uos.sh index 64f2b8e72..4fc9bc64f 100755 --- a/devicemodel/samples/nuc/launch_uos.sh +++ b/devicemodel/samples/nuc/launch_uos.sh @@ -29,7 +29,7 @@ acrn-dm -A -m $mem_size -c $2 -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio \ -B "root=/dev/vda3 rw rootwait maxcpus=$2 nohpet console=tty0 console=hvc0 \ console=ttyS0 no_timer_check ignore_loglevel log_buf_len=16M \ consoleblank=0 tsc=reliable i915.avail_planes_per_pipe=$4 \ - i915.enable_hangcheck=0 i915.nuclear_pageflip=1" $vm_name + i915.enable_hangcheck=0 i915.nuclear_pageflip=1 i915.enable_guc_loading=0" $vm_name } launch_clear 2 1 "64 448 8" 0x070F00 clear