summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-02-27 12:01:58 -0500
committerAlex Deucher <alexander.deucher@amd.com>2013-03-07 12:58:57 -0500
commite8fc41377f5037ff7a661ea06adc05f1daec1548 (patch)
tree0013a254b5ee7c19162f5eda02658de08b18b0b9
parentcc9945bf9cac03860b2f7d59882263c965c6e3af (diff)
downloadblackbird-op-linux-e8fc41377f5037ff7a661ea06adc05f1daec1548.tar.gz
blackbird-op-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
-rw-r--r--drivers/gpu/drm/radeon/radeon_combios.c9
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);
OpenPOWER on IntegriCloud