RE: [PATCH Review 1/1] drm/amdgpu: Check APU flag to disable RAS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[AMD Official Use Only - General]

Reviewed-by: Tao Zhou <tao.zhou1@xxxxxxx>

> -----Original Message-----
> From: amd-gfx <amd-gfx-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of
> Stanley.Yang
> Sent: Friday, July 21, 2023 9:18 PM
> To: amd-gfx@xxxxxxxxxxxxxxxxxxxxx; Zhang, Hawking <Hawking.Zhang@xxxxxxx>;
> Zhou1, Tao <Tao.Zhou1@xxxxxxx>; Chai, Thomas <YiPeng.Chai@xxxxxxx>; Li,
> Candice <Candice.Li@xxxxxxx>
> Cc: Yang, Stanley <Stanley.Yang@xxxxxxx>
> Subject: [PATCH Review 1/1] drm/amdgpu: Check APU flag to disable RAS
>
> Only disable RAS by default for aqua vanjaram on APU platform.
>
> Signed-off-by: Stanley.Yang <Stanley.Yang@xxxxxxx>
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
> b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
> index 2221460e23e4..00a3863a6017 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
> @@ -2529,7 +2529,8 @@ static void amdgpu_ras_check_supported(struct
> amdgpu_device *adev)
>        * Disable ras feature for aqua vanjaram
>        * by default on apu platform.
>        */
> -     if (adev->ip_versions[MP0_HWIP][0] == IP_VERSION(13, 0, 6))
> +     if (adev->ip_versions[MP0_HWIP][0] == IP_VERSION(13, 0, 6) &&
> +         adev->gmc.is_app_apu)
>               adev->ras_enabled = amdgpu_ras_enable != 1 ? 0 :
>                       adev->ras_hw_enabled & amdgpu_ras_mask;
>       else
> --
> 2.25.1





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux