diff options
| author | Evan Quan <[email protected]> | 2019-11-19 03:43:45 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-11-19 17:08:46 +0000 |
| commit | 32cc3bf0a77c0e600a3df33f1661da4dee7ceadb (patch) | |
| tree | 99e71fdabeab4468f1e804ddbc198ff63d73bcef /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | drm/amd/powerplay: add Arcturus baco reset support (diff) | |
| download | kernel-32cc3bf0a77c0e600a3df33f1661da4dee7ceadb.tar.gz kernel-32cc3bf0a77c0e600a3df33f1661da4dee7ceadb.zip | |
drm/amd/powerplay: add missing header file declaration
This can fix the compile errors below:
drivers/gpu/drm/amd/amdgpu/../powerplay/smu_v11_0.c: In function ‘smu_v11_0_baco_set_state’:
drivers/gpu/drm/amd/amdgpu/../powerplay/smu_v11_0.c:1674:27: error: implicit declaration of function ‘amdgpu_ras_get_context’ [-Werror=implicit-function-declaration]
struct amdgpu_ras *ras = amdgpu_ras_get_context(adev);
^
drivers/gpu/drm/amd/amdgpu/../powerplay/smu_v11_0.c:1674:27: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
drivers/gpu/drm/amd/amdgpu/../powerplay/smu_v11_0.c:1692:19: error: dereferencing pointer to incomplete type ‘struct amdgpu_ras’
if (!ras || !ras->supported) {
Signed-off-by: Evan Quan <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
