Move common IP init before GMC init so that HDP gets
remapped before GMC init which uses it.
This fixes the Unsupported Request error reported through
AER during driver load. The error happens as a write happens
to the remap offset before real remapping is done.
The error was unnoticed before and got visible because of the commit
referenced below. This doesn't fix anything in the commit below, rather
fixes the issue in amdgpu exposed by the commit. The reference is only
to associate this commit with below one so that both go together.
Fixes: 8795e182b02d ("PCI/portdrv: Don't disable AER reporting in get_port_device_capability()")
Acked-by: Christian König <email address hidden>
Reviewed-by: Lijo Lazar <email address hidden>
Signed-off-by: Alex Deucher <email address hidden>
Cc: <email address hidden>
(cherry picked from commit a8671493d2074950553da3cf07d1be43185ef6c6)
Signed-off-by: Chia-Lin Kao (AceLan) <email address hidden>
Is this commit necessary for LP:2000110, if not it should be reverted.
Otherwise, the following series are needed: https://lore<email address hidden>/
Hi Acelan,
The first bad commit:
commit 224dffc89a957e2 f006de3202d12c0 9bf348f992 (refs/bisect/bad)
Author: Alex Deucher <email address hidden>
Date: Wed Dec 21 15:26:47 2022 +0800
drm/amdgpu: make sure to init common IP before gmc
BugLink: https:/ /launchpad. net/bugs/ 2000110
Move common IP init before GMC init so that HDP gets
remapped before GMC init which uses it.
This fixes the Unsupported Request error reported through
AER during driver load. The error happens as a write happens
to the remap offset before real remapping is done.
Link: https:/ /bugzilla. kernel. org/show_ bug.cgi? id=216373
The error was unnoticed before and got visible because of the commit
referenced below. This doesn't fix anything in the commit below, rather
fixes the issue in amdgpu exposed by the commit. The reference is only
to associate this commit with below one so that both go together.
Fixes: 8795e182b02d ("PCI/portdrv: Don't disable AER reporting in get_port_ device_ capability( )")
Acked-by: Christian König <email address hidden> 0553da3cf07d1be 43185ef6c6)
Reviewed-by: Lijo Lazar <email address hidden>
Signed-off-by: Alex Deucher <email address hidden>
Cc: <email address hidden>
(cherry picked from commit a8671493d207495
Signed-off-by: Chia-Lin Kao (AceLan) <email address hidden>
Is this commit necessary for LP:2000110, if not it should be reverted. /lore<email address hidden>/
Otherwise, the following series are needed:
https:/