Commit 3670c242 authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu: add supports_baco callback for SI asics.

BACO - Bus Active, Chip Off

Not supported.
Reviewed-by: default avatarEvan Quan <evan.quan@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 988eb9ff
...@@ -1197,6 +1197,11 @@ static int si_asic_reset(struct amdgpu_device *adev) ...@@ -1197,6 +1197,11 @@ static int si_asic_reset(struct amdgpu_device *adev)
return 0; return 0;
} }
static bool si_asic_supports_baco(struct amdgpu_device *adev)
{
return false;
}
static enum amd_reset_method static enum amd_reset_method
si_asic_reset_method(struct amdgpu_device *adev) si_asic_reset_method(struct amdgpu_device *adev)
{ {
...@@ -1425,6 +1430,7 @@ static const struct amdgpu_asic_funcs si_asic_funcs = ...@@ -1425,6 +1430,7 @@ static const struct amdgpu_asic_funcs si_asic_funcs =
.get_pcie_usage = &si_get_pcie_usage, .get_pcie_usage = &si_get_pcie_usage,
.need_reset_on_init = &si_need_reset_on_init, .need_reset_on_init = &si_need_reset_on_init,
.get_pcie_replay_count = &si_get_pcie_replay_count, .get_pcie_replay_count = &si_get_pcie_replay_count,
.supports_baco = &si_asic_supports_baco,
}; };
static uint32_t si_get_rev_id(struct amdgpu_device *adev) static uint32_t si_get_rev_id(struct amdgpu_device *adev)
......
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