File tree Expand file tree Collapse file tree
drivers/gpu/drm/amd/amdgpu Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,7 +115,8 @@ amdgpu-y += \
115115 psp_v11_0.o \
116116 psp_v11_0_8.o \
117117 psp_v12_0.o \
118- psp_v13_0.o
118+ psp_v13_0.o \
119+ psp_v13_0_4.o
119120
120121# add DCE block
121122amdgpu-y += \
Original file line number Diff line number Diff line change @@ -1630,12 +1630,14 @@ static int amdgpu_discovery_set_psp_ip_blocks(struct amdgpu_device *adev)
16301630 case IP_VERSION (13 , 0 , 1 ):
16311631 case IP_VERSION (13 , 0 , 2 ):
16321632 case IP_VERSION (13 , 0 , 3 ):
1633- case IP_VERSION (13 , 0 , 4 ):
16341633 case IP_VERSION (13 , 0 , 5 ):
16351634 case IP_VERSION (13 , 0 , 7 ):
16361635 case IP_VERSION (13 , 0 , 8 ):
16371636 amdgpu_device_ip_block_add (adev , & psp_v13_0_ip_block );
16381637 break ;
1638+ case IP_VERSION (13 , 0 , 4 ):
1639+ amdgpu_device_ip_block_add (adev , & psp_v13_0_4_ip_block );
1640+ break ;
16391641 default :
16401642 dev_err (adev -> dev ,
16411643 "Failed to add psp ip block(MP0_HWIP:0x%x)\n" ,
Original file line number Diff line number Diff line change 3737#include "psp_v11_0_8.h"
3838#include "psp_v12_0.h"
3939#include "psp_v13_0.h"
40+ #include "psp_v13_0_4.h"
4041
4142#include "amdgpu_ras.h"
4243#include "amdgpu_securedisplay.h"
@@ -151,6 +152,10 @@ static int psp_early_init(void *handle)
151152 psp_v13_0_set_psp_funcs (psp );
152153 psp -> autoload_supported = true;
153154 break ;
155+ case IP_VERSION (13 , 0 , 4 ):
156+ psp_v13_0_4_set_psp_funcs (psp );
157+ psp -> autoload_supported = true;
158+ break ;
154159 default :
155160 return - EINVAL ;
156161 }
@@ -3694,3 +3699,11 @@ const struct amdgpu_ip_block_version psp_v13_0_ip_block = {
36943699 .rev = 0 ,
36953700 .funcs = & psp_ip_funcs ,
36963701};
3702+
3703+ const struct amdgpu_ip_block_version psp_v13_0_4_ip_block = {
3704+ .type = AMD_IP_BLOCK_TYPE_PSP ,
3705+ .major = 13 ,
3706+ .minor = 0 ,
3707+ .rev = 4 ,
3708+ .funcs = & psp_ip_funcs ,
3709+ };
Original file line number Diff line number Diff line change @@ -439,6 +439,7 @@ extern const struct amdgpu_ip_block_version psp_v11_0_ip_block;
439439extern const struct amdgpu_ip_block_version psp_v11_0_8_ip_block ;
440440extern const struct amdgpu_ip_block_version psp_v12_0_ip_block ;
441441extern const struct amdgpu_ip_block_version psp_v13_0_ip_block ;
442+ extern const struct amdgpu_ip_block_version psp_v13_0_4_ip_block ;
442443
443444extern int psp_wait_for (struct psp_context * psp , uint32_t reg_index ,
444445 uint32_t field_val , uint32_t mask , bool check_changed );
You can’t perform that action at this time.
0 commit comments