Lijo Lazar
650f0487d6
drm/amdgpu: Read aquavanjaram USR register state
...
Add support to read state of USR links in aquavanjaram SOC.
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com >
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2023-12-06 15:22:37 -05:00
Lijo Lazar
13ac7c0e30
drm/amdgpu: Read aquavanjaram WAFL register state
...
Add support to read state of WAFL links in aquavanjaram SOC.
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com >
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2023-12-06 15:22:36 -05:00
Lijo Lazar
92e508eaf3
drm/amdgpu: Read aquavanjaram XGMI register state
...
Add support to read state of XGMI links in aquavanjaram SOC.
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com >
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2023-11-29 16:49:35 -05:00
Lijo Lazar
081a6eda2b
drm/amdgpu: Read aquavanjaram PCIE register state
...
Add support to read aqua vanjaram PCIE register state
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com >
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2023-11-29 16:49:35 -05:00
Lijo Lazar
c45e38f217
drm/amdgpu: Restore partition mode after reset
...
On a full device reset, PSP FW gets unloaded. Hence restore the
partition mode by placing a new request.
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com >
Reviewed-by: Asad Kamal <asad.kamal@amd.com >
Acked-by: Alex Deucher <alexander.deucher@amd.com >
Tested-by: Asad Kamal <asad.kamal@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2023-09-26 16:54:51 -04:00
Lijo Lazar
6cb209ed68
drm/amdgpu: Update ring scheduler info as needed
...
Not all rings have scheduler associated. Only update scheduler data for
rings with scheduler. It could result in out of bound access as total
rings are more than those associated with particular IPs.
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com >
Reviewed-by: James Zhu <James.Zhu@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2023-07-25 13:39:29 -04:00
Guchun Chen
18cf073faa
drm/amdgpu: use a macro to define no xcp partition case
...
~0 as no xcp partition is used in several places, so improve its
definition by a macro for code consistency.
Suggested-by: Christian König <christian.koenig@amd.com >
Signed-off-by: Guchun Chen <guchun.chen@amd.com >
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2023-07-18 11:19:02 -04:00
Lijo Lazar
fe9aaddf90
drm/amdgpu: Rename aqua_vanjaram_reg_init.c
...
This contains SOC specific functions, rename to a more generic format
<soc>.c => aqua_vanjaram.c
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com >
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2023-07-07 13:38:27 -04:00