Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu: enable async gfx ring by default

VDDGFX requires gfx queue to be installed via MAP_QUEUES packet.
Hence, enable async gfx ring by default.

Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Jack Xiao and committed by
Alex Deucher
5bfca069 51bcce46

+2 -2
+2 -2
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
··· 136 136 uint amdgpu_smu_memory_pool_size = 0; 137 137 /* FBC (bit 0) disabled by default*/ 138 138 uint amdgpu_dc_feature_mask = 0; 139 - int amdgpu_async_gfx_ring = 0; 139 + int amdgpu_async_gfx_ring = 1; 140 140 141 141 struct amdgpu_mgpu_info mgpu_info = { 142 142 .mutex = __MUTEX_INITIALIZER(mgpu_info.mutex), ··· 571 571 * It is used to enable gfx rings that could be configured with different prioritites or equal priorities 572 572 */ 573 573 MODULE_PARM_DESC(async_gfx_ring, 574 - "Asynchronous GFX rings that could be configured with either different priorities (HP3D ring and LP3D ring), or equal priorities (0 = disabled (default), 1 = enabled)"); 574 + "Asynchronous GFX rings that could be configured with either different priorities (HP3D ring and LP3D ring), or equal priorities (0 = disabled, 1 = enabled (default))"); 575 575 module_param_named(async_gfx_ring, amdgpu_async_gfx_ring, int, 0444); 576 576 577 577 #ifdef CONFIG_HSA_AMD