mirror of
https://github.com/torvalds/linux.git
synced 2026-06-09 07:03:37 +02:00
drm/radeon/kms: fix washed out image on legacy tv dac
commit 643acacf02 upstream.
bad cast was overwriting the tvdac adj values
Fixes fdo bug 27478
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
0119701ec6
commit
94ca1d6aa6
|
|
@ -281,7 +281,7 @@ int radeon_connector_set_property(struct drm_connector *connector, struct drm_pr
|
|||
radeon_encoder = to_radeon_encoder(encoder);
|
||||
if (!radeon_encoder->enc_priv)
|
||||
return 0;
|
||||
if (rdev->is_atom_bios) {
|
||||
if (ASIC_IS_AVIVO(rdev) || radeon_r4xx_atom) {
|
||||
struct radeon_encoder_atom_dac *dac_int;
|
||||
dac_int = radeon_encoder->enc_priv;
|
||||
dac_int->tv_std = val;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user