Commit 6d0f50da authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu: add reset_method asic callback for cik

CIK always uses the legacy pci based reset.
Reviewed-by: default avatarEvan Quan <evan.quan@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent dd81eede
...@@ -1291,6 +1291,12 @@ static int cik_asic_reset(struct amdgpu_device *adev) ...@@ -1291,6 +1291,12 @@ static int cik_asic_reset(struct amdgpu_device *adev)
return r; return r;
} }
static enum amd_reset_method
cik_asic_reset_method(struct amdgpu_device *adev)
{
return AMD_RESET_METHOD_LEGACY;
}
static u32 cik_get_config_memsize(struct amdgpu_device *adev) static u32 cik_get_config_memsize(struct amdgpu_device *adev)
{ {
return RREG32(mmCONFIG_MEMSIZE); return RREG32(mmCONFIG_MEMSIZE);
...@@ -1823,6 +1829,7 @@ static const struct amdgpu_asic_funcs cik_asic_funcs = ...@@ -1823,6 +1829,7 @@ static const struct amdgpu_asic_funcs cik_asic_funcs =
.read_bios_from_rom = &cik_read_bios_from_rom, .read_bios_from_rom = &cik_read_bios_from_rom,
.read_register = &cik_read_register, .read_register = &cik_read_register,
.reset = &cik_asic_reset, .reset = &cik_asic_reset,
.reset_method = &cik_asic_reset_method,
.set_vga_state = &cik_vga_set_state, .set_vga_state = &cik_vga_set_state,
.get_xclk = &cik_get_xclk, .get_xclk = &cik_get_xclk,
.set_uvd_clocks = &cik_set_uvd_clocks, .set_uvd_clocks = &cik_set_uvd_clocks,
......
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