Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdgpu/vcn: Add vcn ras support

VCN block ras feature support addition

V2: default ras callback removed

Signed-off-by: Mohammad Zafar Ziya <Mohammadzafar.ziya@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Mohammad Zafar Ziya and committed by
Alex Deucher
60fce741 a3d63c62

+9
+9
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
··· 24 24 #ifndef __AMDGPU_VCN_H__ 25 25 #define __AMDGPU_VCN_H__ 26 26 27 + #include "amdgpu_ras.h" 28 + 27 29 #define AMDGPU_VCN_STACK_SIZE (128*1024) 28 30 #define AMDGPU_VCN_CONTEXT_SIZE (512*1024) 29 31 ··· 235 233 struct amdgpu_vcn_fw_shared fw_shared; 236 234 }; 237 235 236 + struct amdgpu_vcn_ras { 237 + struct amdgpu_ras_block_object ras_block; 238 + }; 239 + 238 240 struct amdgpu_vcn { 239 241 unsigned fw_version; 240 242 struct delayed_work idle_work; ··· 258 252 unsigned harvest_config; 259 253 int (*pause_dpg_mode)(struct amdgpu_device *adev, 260 254 int inst_idx, struct dpg_pause_state *new_state); 255 + 256 + struct ras_common_if *ras_if; 257 + struct amdgpu_vcn_ras *ras; 261 258 }; 262 259 263 260 struct amdgpu_fw_shared_rb_ptrs_struct {