diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-02-27 18:01:58 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-03-07 18:58:57 +0100 |
commit | e8fc41377f5037ff7a661ea06adc05f1daec1548 (patch) | |
tree | 0013a254b5ee7c19162f5eda02658de08b18b0b9 /drivers | |
parent | drm/radeon: don't set hpd, afmt interrupts when interrupts are disabled (diff) | |
download | linux-e8fc41377f5037ff7a661ea06adc05f1daec1548.tar.xz linux-e8fc41377f5037ff7a661ea06adc05f1daec1548.zip |
drm/radeon: add primary dac adj quirk for R200 board
vbios values are wrong leading to colors that are
too bright. Use the default values instead.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_combios.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_combios.c b/drivers/gpu/drm/radeon/radeon_combios.c index 3e403bdda58f..78edadc9e86b 100644 --- a/drivers/gpu/drm/radeon/radeon_combios.c +++ b/drivers/gpu/drm/radeon/radeon_combios.c @@ -970,6 +970,15 @@ struct radeon_encoder_primary_dac *radeon_combios_get_primary_dac_info(struct found = 1; } + /* quirks */ + /* Radeon 9100 (R200) */ + if ((dev->pdev->device == 0x514D) && + (dev->pdev->subsystem_vendor == 0x174B) && + (dev->pdev->subsystem_device == 0x7149)) { + /* vbios value is bad, use the default */ + found = 0; + } + if (!found) /* fallback to defaults */ radeon_legacy_get_primary_dac_info_from_table(rdev, p_dac); |