drm/radeon/kms: fix DDIA enable on some rs690 systems
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Sep 2011 14:47:23 +0000 (10:47 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:41:03 +0000 (11:41 -0700)
commitb5fa99b753a2b03aeb9ce2851ac038855258e847
treef6aad2fe0122aab8167cca11fe36be067d663559
parent8fc04d468cc3e98099140ef3d76339f10e7ec30a
drm/radeon/kms: fix DDIA enable on some rs690 systems

commit fdfc61594e6de21c23f955818ef78bcab9bafe40 upstream.

DVOOutputControl checks the value of of bios scratch reg 3
on some tables and assumes the encoder is already enabled
if the DFP2_ACTIVE bit is set.  Clear that bit so the table
sets the DDIA enable bit properly.

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/radeon_encoders.c