[AMD Official Use Only - AMD Internal Distribution Only] The series is:
Reviewed-by: Tao Zhou <[email protected]> > -----Original Message----- > From: amd-gfx <[email protected]> On Behalf Of Mangesh > Gadre > Sent: Tuesday, July 29, 2025 12:20 PM > To: [email protected]; Zhang, Hawking <[email protected]> > Cc: Gadre, Mangesh <[email protected]>; Yang, Stanley > <[email protected]> > Subject: [PATCH 2/2] drm/amdgpu: Initialize vcn v5_0_1 ras function > > Initialize vcn v5_0_1 ras function > > Signed-off-by: Mangesh Gadre <[email protected]> > Reviewed-by: Stanley.Yang <[email protected]> > --- > drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c > b/drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c > index cdefd7fcb0da..563cb3e1b610 100644 > --- a/drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c > +++ b/drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c > @@ -163,6 +163,15 @@ static int vcn_v5_0_1_sw_init(struct amdgpu_ip_block > *ip_block) > return r; > } > > + if (amdgpu_ras_is_supported(adev, AMDGPU_RAS_BLOCK__VCN)) { > + r = amdgpu_vcn_ras_sw_init(adev); > + if (r) { > + dev_err(adev->dev, "Failed to initialize vcn ras > block!\n"); > + return r; > + } > + } > + > + > vcn_v5_0_0_alloc_ip_dump(adev); > > return amdgpu_vcn_sysfs_reset_mask_init(adev); > -- > 2.34.1
