mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
drm/amdgpu: enable soft reset for gfx 11
Enable soft reset for gfx 11. V2: enable both gfx v11.0.0 and gfx v11.0.2. Signed-off-by: Likun Gao <Likun.Gao@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
a84e43b81e
commit
c0ff84cb58
1 changed files with 7 additions and 1 deletions
|
@ -417,7 +417,13 @@ static uint32_t soc21_get_rev_id(struct amdgpu_device *adev)
|
||||||
|
|
||||||
static bool soc21_need_full_reset(struct amdgpu_device *adev)
|
static bool soc21_need_full_reset(struct amdgpu_device *adev)
|
||||||
{
|
{
|
||||||
return true;
|
switch (adev->ip_versions[GC_HWIP][0]) {
|
||||||
|
case IP_VERSION(11, 0, 0):
|
||||||
|
case IP_VERSION(11, 0, 2):
|
||||||
|
return false;
|
||||||
|
default:
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool soc21_need_reset_on_init(struct amdgpu_device *adev)
|
static bool soc21_need_reset_on_init(struct amdgpu_device *adev)
|
||||||
|
|
Loading…
Add table
Reference in a new issue