[PATCH] drm/amdgpu: enable BACO runpm by default on sienna ciclid and navy flounder

Bhardwaj, Rajneesh rajneesh.bhardwaj at amd.com
Mon Mar 1 16:26:14 UTC 2021


Reviewed-by: Rajneesh Bhardwaj <rajneesh.bhardwaj at amd.com 
<mailto:rajneesh.bhardwaj at amd.com>>

On 3/1/2021 10:57 AM, Alex Deucher wrote:
> [CAUTION: External Email]
>
> It works fine and was only disabled because primary GPUs
> don't enter runpm if there is a console bound to the fbdev due
> to the kmap.  This will at least allow runpm on secondary cards.
>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> ---
>   drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 --
>   1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
> index c03e8f52dae4..fbb863c1cfcc 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
> @@ -172,8 +172,6 @@ int amdgpu_driver_load_kms(struct amdgpu_device *adev, unsigned long flags)
>                  switch (adev->asic_type) {
>                  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.29.2
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=04%7C01%7Crajneesh.bhardwaj%40amd.com%7C4de9048c03f74fd660ee08d8dccad4e8%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637502111016587667%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=25uhZSvD8KzaVri8EhHQAdpxzlN57TMZM9nd16NfuBQ%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20210301/7a1fbb8c/attachment-0001.htm>


More information about the amd-gfx mailing list