drm/radeon/kms: rework DP bridge checks
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 31 Oct 2011 12:58:47 +0000 (08:58 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Dec 2011 20:58:32 +0000 (12:58 -0800)
commitbdcb5dfae2b68aafbb66f56b8f10c4876f341e32
tree4b3f63dbfff16d731da6c7ade8b18456d37b8d1a
parent26b947d476c08b8f3879b4c0cd4d1545653d74f4
drm/radeon/kms: rework DP bridge checks

commit 1d33e1fc8dcce667a70387b666a8b6f60153d90f upstream.

Return the encoder id rather than a boolean.  This is needed
for differentiate between multiple DP bridge chips.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/radeon/atombios_crtc.c
drivers/gpu/drm/radeon/atombios_dp.c
drivers/gpu/drm/radeon/radeon_connectors.c
drivers/gpu/drm/radeon/radeon_display.c
drivers/gpu/drm/radeon/radeon_encoders.c
drivers/gpu/drm/radeon/radeon_mode.h