diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/2844-drm-amdgpu-enable-IP-discovery-by-default-on-navi.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.19.8/2844-drm-amdgpu-enable-IP-discovery-by-default-on-navi.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/2844-drm-amdgpu-enable-IP-discovery-by-default-on-navi.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/2844-drm-amdgpu-enable-IP-discovery-by-default-on-navi.patch new file mode 100644 index 00000000..e4b74215 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/2844-drm-amdgpu-enable-IP-discovery-by-default-on-navi.patch @@ -0,0 +1,38 @@ +From c75d8b82117e25250a1cf0014ed7c1944bf45f37 Mon Sep 17 00:00:00 2001 +From: Alex Deucher <alexander.deucher@amd.com> +Date: Mon, 8 Jul 2019 13:47:12 -0500 +Subject: [PATCH 2844/2940] drm/amdgpu: enable IP discovery by default on navi + +Use the IP discovery table rather than hardcoding the +settings in the driver. + +Reviewed-by: Xiaojie Yuan <xiaojie.yuan@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +index 8001120e6b79..459342449a3b 100644 +--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c ++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +@@ -143,7 +143,7 @@ uint amdgpu_smu_memory_pool_size = 0; + uint amdgpu_dc_feature_mask = 0; + int amdgpu_async_gfx_ring = 1; + int amdgpu_mcbp = 0; +-int amdgpu_discovery = 0; ++int amdgpu_discovery = -1; + int amdgpu_mes = 0; + + struct amdgpu_mgpu_info mgpu_info = { +@@ -604,6 +604,7 @@ module_param_named(mcbp, amdgpu_mcbp, int, 0444); + /** + * DOC: discovery (int) + * Allow driver to discover hardware IP information from IP Discovery table at the top of VRAM. ++ * (-1 = auto (default), 0 = disabled, 1 = enabled) + */ + + MODULE_PARM_DESC(discovery, +-- +2.17.1 + |