Commit 3188fd07 authored by Lang Yu's avatar Lang Yu Committed by Alex Deucher

drm/amdgpu: init psp v11.0.8 function for cyan_skillfish

Add psp v11.0.8 function into psp driver.
Signed-off-by: default avatarLang Yu <lang.yu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e330a68f
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include "psp_v3_1.h" #include "psp_v3_1.h"
#include "psp_v10_0.h" #include "psp_v10_0.h"
#include "psp_v11_0.h" #include "psp_v11_0.h"
#include "psp_v11_0_8.h"
#include "psp_v12_0.h" #include "psp_v12_0.h"
#include "psp_v13_0.h" #include "psp_v13_0.h"
...@@ -121,6 +122,12 @@ static int psp_early_init(void *handle) ...@@ -121,6 +122,12 @@ static int psp_early_init(void *handle)
psp_v13_0_set_psp_funcs(psp); psp_v13_0_set_psp_funcs(psp);
psp->autoload_supported = true; psp->autoload_supported = true;
break; break;
case CHIP_CYAN_SKILLFISH:
if (adev->apu_flags & AMD_APU_IS_CYAN_SKILLFISH2) {
psp_v11_0_8_set_psp_funcs(psp);
psp->autoload_supported = false;
}
break;
default: default:
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment