diff options
| author | Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> | 2026-05-06 17:45:27 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-09-02 15:23:53 -0400 |
| commit | 76b36e3941589421db7acfe138dde83e3ef8bb5e (patch) | |
| tree | dbc20726e9c12a1685e4c34b3927a2ce82179b98 /drivers/gpu | |
| parent | d4ac5635d74f89111504c97711b3c8d220d0a6f0 (diff) | |
| download | linux-next-76b36e3941589421db7acfe138dde83e3ef8bb5e.tar.gz linux-next-76b36e3941589421db7acfe138dde83e3ef8bb5e.zip | |
drm/amdgpu: Add ual_config_state to ual_get_config
Add psp_gfx_ual_config_state
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h b/drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h index 6bcc04109d4c..77be21c3eada 100644 --- a/drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h +++ b/drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h @@ -421,6 +421,17 @@ enum psp_gfx_ual_link_type PSP_GFX_UALMAX }; +enum psp_gfx_ual_config_state +{ + UAL_CFG_IDLE = 0, + UAL_CFG_PPOD = 1, + UAL_CFG_VPOD = 2, + UAL_CFG_PAUSE = 3, + UAL_CFG_STATION = 4, + UAL_CFG_COMPLETE = 5, + UAL_CFG_INVALID = 0xFF +}; + struct psp_gfx_cmd_set_ppod_config_ual_v1 { uint32_t accelerator_id; // Accelerator ID @@ -477,6 +488,7 @@ struct psp_gfx_get_config_ual_v1 { uint32_t vpod_size; uint32_t vpod_active_accelerators[PSP_GFX_UAL_MAX_ACC_BIT_MASK]; enum psp_gfx_ual_npa_address_mode addr_mode; + enum psp_gfx_ual_config_state config_state; }; struct psp_gfx_cmd_send_completion_ual_v1 |
