OSDN Git Service

drm/radeon/kms: retry aux transactions if there are status flags
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Oct 2011 21:23:15 +0000 (17:23 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 16 Oct 2011 21:14:54 +0000 (14:14 -0700)
commit3450eab782ae71a60f33969fd7e8d793b08ae980
tree7465bf0915e238dd151bfa605e37708cdef0e3ac
parent33ab02d45f2f238b72c8fb9735b32c58ee24fa73
drm/radeon/kms: retry aux transactions if there are status flags

commit 4f332844cc87c5f99c5300f788abbe8a8c731390 upstream.

If there are error flags in the aux status, retry the transaction.
This makes aux much more reliable, especially on llano systems.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/radeon/atombios_dp.c