diff options
| author | Alex Sierra <alex.sierra@amd.com> | 2025-03-07 12:17:34 -0600 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-12-08 14:11:56 -0500 |
| commit | f8692d2f9ae0a48bf378cc33717772c5f940ce0d (patch) | |
| tree | 615d77a15ee35146e32d284c65bc3fc63ab7a4c1 /drivers/gpu/drm/amd/include | |
| parent | e5fc897b076e0bd0bab9c32154fdb1bba6566127 (diff) | |
drm/amd: include rrmt mode for mes_v12_1
Implement rrmt for misc read/write regs ops in mes_v12.
This covers LOCAL/REMOTE XCD and LOCAL/REMOTE AID.
v2: fix comments (Alex)
Signed-off-by: Alex Sierra <alex.sierra@amd.com>
Reviewed-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Michael Chen <michael.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include')
| -rw-r--r-- | drivers/gpu/drm/amd/include/mes_v12_api_def.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/mes_v12_api_def.h b/drivers/gpu/drm/amd/include/mes_v12_api_def.h index 256eb7f702f6..a9bbe3070a48 100644 --- a/drivers/gpu/drm/amd/include/mes_v12_api_def.h +++ b/drivers/gpu/drm/amd/include/mes_v12_api_def.h @@ -71,6 +71,13 @@ enum MES_SCH_API_OPCODE { MES_SCH_API_MAX = 0xFF }; +enum MES_RRMT_MODE { + MES_RRMT_MODE_LOCAL_XCD, + MES_RRMT_MODE_LOCAL_REMOTE_AID, + MES_RRMT_MODE_REMOTE_XCD, + MES_RRMT_MODE_REMOTE_MID +}; + union MES_API_HEADER { struct { uint32_t type : 4; /* 0 - Invalid; 1 - Scheduling; 2 - TBD */ |
