drm/radeon: allow to force hard GPU reset.
In some cases, like when freezing for hibernation, we need to be able to force hard reset even if no engine are stuck. This patch add a bool option to current asic reset callback to allow to force hard reset on asic that supports it. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Jérôme Glisse <jglisse@redhat.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:

committed by
Alex Deucher

parent
fabb593587
commit
71fe289970
@@ -444,7 +444,7 @@ void rs600_hpd_fini(struct radeon_device *rdev)
|
||||
radeon_irq_kms_disable_hpd(rdev, disable);
|
||||
}
|
||||
|
||||
int rs600_asic_reset(struct radeon_device *rdev)
|
||||
int rs600_asic_reset(struct radeon_device *rdev, bool hard)
|
||||
{
|
||||
struct rv515_mc_save save;
|
||||
u32 status, tmp;
|
||||
|
Reference in New Issue
Block a user