aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorOak Zeng <Oak.Zeng@amd.com>2019-06-26 10:16:56 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-06-27 11:22:34 -0500
commitf51af4357c4a15fc1aa1d9250935100b63a91d1e (patch)
tree01899cc14c0324905088c5d6861fc900c30904e6 /drivers/gpu
parentdrm/amd/powerplay: add missing smu_get_clk_info_from_vbios() call (diff)
downloadlinux-dev-f51af4357c4a15fc1aa1d9250935100b63a91d1e.tar.xz
linux-dev-f51af4357c4a15fc1aa1d9250935100b63a91d1e.zip
drm/amdgpu: Set queue_preemption_timeout_ms default value
Set default value of this kernel parameter to 9000 Signed-off-by: Oak Zeng <Oak.Zeng@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index 92d415a4ee47..3913a75924c6 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -702,7 +702,7 @@ MODULE_PARM_DESC(hws_gws_support, "MEC FW support gws barriers (false = not supp
* DOC: queue_preemption_timeout_ms (int)
* queue preemption timeout in ms (1 = Minimum, 9000 = default)
*/
-int queue_preemption_timeout_ms;
+int queue_preemption_timeout_ms = 9000;
module_param(queue_preemption_timeout_ms, int, 0644);
MODULE_PARM_DESC(queue_preemption_timeout_ms, "queue preemption timeout in ms (1 = Minimum, 9000 = default)");
#endif