mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 09:31:14 +00:00
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
This commit is contained in:
parent
cc9945bf9c
commit
e8fc41377f
1 changed files with 9 additions and 0 deletions
|
@ -970,6 +970,15 @@ struct radeon_encoder_primary_dac *radeon_combios_get_primary_dac_info(struct
|
||||||
found = 1;
|
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 */
|
if (!found) /* fallback to defaults */
|
||||||
radeon_legacy_get_primary_dac_info_from_table(rdev, p_dac);
|
radeon_legacy_get_primary_dac_info_from_table(rdev, p_dac);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue