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

drm/amdgpu: add TA_RAS_INV_NODE value

We can set UMC node instance to invalid state if we use global channel
index, and RAS TA can choose UMC address conversion approach by checking
node_inst value.

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

authored by

Tao Zhou and committed by
Alex Deucher
95024c71 f44a3058

+3
+3
drivers/gpu/drm/amd/amdgpu/ta_ras_if.h
··· 30 30 #define RSP_ID_MASK (1U << 31) 31 31 #define RSP_ID(cmdId) (((uint32_t)(cmdId)) | RSP_ID_MASK) 32 32 33 + /* invalid node instance value */ 34 + #define TA_RAS_INV_NODE 0xffff 35 + 33 36 /* RAS related enumerations */ 34 37 /**********************************************************/ 35 38 enum ras_command {