[PATCH 3/3] drm/amdgpu: enable IP discovery by default on navi

Yuan, Xiaojie Xiaojie.Yuan at amd.com
Tue Jul 9 01:16:06 UTC 2019


Series is Reviewed-by: Xiaojie Yuan <xiaojie.yuan at amd.com>

BR,
Xiaojie

> On Jul 9, 2019, at 2:48 AM, Alex Deucher <alexdeucher at gmail.com> wrote:
> 
> Use the IP discovery table rather than hardcoding the
> settings in the driver.
> 
> Reviewed-by: Xiaojie Yuan <xiaojie.yuan at amd.com>
> Signed-off-by: Alex Deucher <alexander.deucher at 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 7941a5368fb5..6f7772eeeb78 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
> @@ -140,7 +140,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 = {
> @@ -592,6 +592,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,
>    "Allow driver to discover hardware IPs from IP Discovery table at the top of VRAM");
> -- 
> 2.20.1
> 


More information about the amd-gfx mailing list