drm/amdgpu: correct hbm field in boot status
BugLink: https://bugs.launchpad.net/bugs/2077600 [ Upstream commit ec58991054e899c9d86f7e3c8a96cb602d4b5938 ] hbm filed takes bit 13 and bit 14 in boot status. Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Tao Zhou <tao.zhou1@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Portia Stephens <portia.stephens@canonical.com> Signed-off-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
This commit is contained in:
committed by
Stefan Bader
parent
66cb4dea78
commit
e28a2f41fb
@@ -38,6 +38,7 @@ struct amdgpu_iv_entry;
|
||||
*/
|
||||
#define AMDGPU_RAS_INST_MASK 0xfffff000
|
||||
#define AMDGPU_RAS_INST_SHIFT 0xc
|
||||
#define AMDGPU_RAS_GPU_ERR_HBM_ID(x) AMDGPU_GET_REG_FIELD(x, 14, 13)
|
||||
|
||||
enum amdgpu_ras_block {
|
||||
AMDGPU_RAS_BLOCK__UMC = 0,
|
||||
|
||||
Reference in New Issue
Block a user