[PATCH] drm/amdgpu: disable runtime pm for navy_flounder

Zhou1, Tao Tao.Zhou1 at amd.com
Wed Aug 26 09:27:57 UTC 2020


[AMD Public Use]

Reviewed-by: Tao Zhou <tao.zhou1 at amd.com>

> -----Original Message-----
> From: Jiansong Chen <Jiansong.Chen at amd.com>
> Sent: Wednesday, August 26, 2020 3:59 PM
> To: amd-gfx at lists.freedesktop.org
> Cc: Zhou1, Tao <Tao.Zhou1 at amd.com>; Quan, Evan <Evan.Quan at amd.com>;
> Chen, Jiansong (Simon) <Jiansong.Chen at amd.com>
> Subject: [PATCH] drm/amdgpu: disable runtime pm for navy_flounder
> 
> Disable runtime pm for navy_flounder temporarily.
> 
> Signed-off-by: Jiansong Chen <Jiansong.Chen at amd.com>
> Change-Id: Ie1b03f09ab70e79b6dd67ede5547afa23c063eee
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
> b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
> index 9f80eaeaf0ae..caed73d72d3b 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
> @@ -170,6 +170,7 @@ int amdgpu_driver_load_kms(struct amdgpu_device
> *adev, unsigned long flags)
>  		case CHIP_VEGA20:
>  		case CHIP_ARCTURUS:
>  		case CHIP_SIENNA_CICHLID:
> +		case CHIP_NAVY_FLOUNDER:
>  			/* enable runpm if runpm=1 */
>  			if (amdgpu_runtime_pm > 0)
>  				adev->runpm = true;
> --
> 2.25.1


More information about the amd-gfx mailing list