diff options
Diffstat (limited to 'meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0587-drm-amdgpu-disable-hw-semaphores-by-default.patch')
-rw-r--r-- | meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0587-drm-amdgpu-disable-hw-semaphores-by-default.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0587-drm-amdgpu-disable-hw-semaphores-by-default.patch b/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0587-drm-amdgpu-disable-hw-semaphores-by-default.patch new file mode 100644 index 00000000..a2a2c221 --- /dev/null +++ b/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0587-drm-amdgpu-disable-hw-semaphores-by-default.patch @@ -0,0 +1,39 @@ +From b2eb4e33b8df0ec8ee69a86ff50de5f66c72849b Mon Sep 17 00:00:00 2001 +From: Alex Deucher <alexander.deucher@amd.com> +Date: Wed, 30 Sep 2015 12:24:19 -0400 +Subject: [PATCH 0587/1050] drm/amdgpu: disable hw semaphores by default + +These are buggy on some asics and not really used anymore +now that the GPU schedular is enabled. + +Change-Id: I67182b409d64de308392a15d1a0a15018071dc0b +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +index 3ab9855..1c1b97b 100644 +--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c ++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +@@ -79,7 +79,7 @@ int amdgpu_exp_hw_support = 0; + int amdgpu_enable_scheduler = 1; + int amdgpu_sched_jobs = 16; + int amdgpu_sched_hw_submission = 2; +-int amdgpu_enable_semaphores = 1; ++int amdgpu_enable_semaphores = 0; + + MODULE_PARM_DESC(vramlimit, "Restrict VRAM for testing, in megabytes"); + module_param_named(vramlimit, amdgpu_vram_limit, int, 0600); +@@ -153,7 +153,7 @@ module_param_named(sched_jobs, amdgpu_sched_jobs, int, 0444); + MODULE_PARM_DESC(sched_hw_submission, "the max number of HW submissions (default 2)"); + module_param_named(sched_hw_submission, amdgpu_sched_hw_submission, int, 0444); + +-MODULE_PARM_DESC(enable_semaphores, "Enable semaphores (1 = enable (default), 0 = disable)"); ++MODULE_PARM_DESC(enable_semaphores, "Enable semaphores (1 = enable, 0 = disable (default))"); + module_param_named(enable_semaphores, amdgpu_enable_semaphores, int, 0644); + + static struct pci_device_id pciidlist[] = { +-- +1.9.1 + |