drm/radeon: rework panel mode setup
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2012 21:48:18 +0000 (17:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 Aug 2012 16:11:01 +0000 (12:11 -0400)
commit0ceb996c9e729b056977a0f07692b38bbd57bc77
treee3c6313cd2a622719f638dd0c7a6e48d14e572b6
parentc205b232a64fed6d26edd7e40985b396de99a27f
drm/radeon: rework panel mode setup

Adjust the panel mode setup to match the behavior
of the vbios.  Rather than checking for specific
bridge chip ids, just check the eDP configuration register.
This saves extra aux transactions and works across
DP bridge chips without requiring additional per chip
id checking.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/atombios_dp.c