]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: fix regression in DP aux defer handling
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 3 Oct 2011 13:13:45 +0000 (09:13 -0400)
committerDave Airlie <airlied@redhat.com>
Mon, 3 Oct 2011 17:37:30 +0000 (18:37 +0100)
commitce56ba7a354f28ed2d6d0399cacd5772ed2495e5
treea7f787307d22b00ccf1a05c8b1ba1da77976c484
parent22902c43b57099f32999e33f24c8d7f9f51b24df
drm/radeon/kms: fix regression in DP aux defer handling

An incorrect ordering in the error checking code lead
to DP aux defer being skipped in the aux native write
path.  Move the bytes transferred check (ret == 0)
below the defer check.

Tracked down by: Brad Campbell <brad@fnarfbargle.com>

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=41121

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Brad Campbell <brad@fnarfbargle.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/atombios_dp.c