Commit b7acb46f authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu/cik: implement asic need_full_reset callback

Used to check on a per SoC basis whether the SoC needs
a full reset of a per IP soft reset.
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarHuang Rui <ray.huang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 0a881af8
...@@ -1735,6 +1735,12 @@ static void cik_invalidate_hdp(struct amdgpu_device *adev, ...@@ -1735,6 +1735,12 @@ static void cik_invalidate_hdp(struct amdgpu_device *adev,
} }
} }
static bool cik_need_full_reset(struct amdgpu_device *adev)
{
/* change this when we support soft reset */
return true;
}
static const struct amdgpu_asic_funcs cik_asic_funcs = static const struct amdgpu_asic_funcs cik_asic_funcs =
{ {
.read_disabled_bios = &cik_read_disabled_bios, .read_disabled_bios = &cik_read_disabled_bios,
...@@ -1748,6 +1754,7 @@ static const struct amdgpu_asic_funcs cik_asic_funcs = ...@@ -1748,6 +1754,7 @@ static const struct amdgpu_asic_funcs cik_asic_funcs =
.get_config_memsize = &cik_get_config_memsize, .get_config_memsize = &cik_get_config_memsize,
.flush_hdp = &cik_flush_hdp, .flush_hdp = &cik_flush_hdp,
.invalidate_hdp = &cik_invalidate_hdp, .invalidate_hdp = &cik_invalidate_hdp,
.need_full_reset = &cik_need_full_reset,
}; };
static int cik_common_early_init(void *handle) static int cik_common_early_init(void *handle)
......
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