summaryrefslogtreecommitdiff
path: root/linux-core/radeon_atombios.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2008-09-26 17:20:04 -0400
committerAlex Deucher <alexdeucher@gmail.com>2008-09-26 17:20:04 -0400
commit09b2dfcedc8cb35444567626131ccc25db79a8c6 (patch)
treec64815a19296773b907ac72a12c83e7bd212d67a /linux-core/radeon_atombios.c
parent89126bb58ec82511758bed36a28e698b721fb435 (diff)
radeon: make atom on r4xx a module option
default is legacy modesetting. pass module option r4xx_atom to try using atom on r4xx.
Diffstat (limited to 'linux-core/radeon_atombios.c')
-rw-r--r--linux-core/radeon_atombios.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/linux-core/radeon_atombios.c b/linux-core/radeon_atombios.c
index 90a367a0..a763e766 100644
--- a/linux-core/radeon_atombios.c
+++ b/linux-core/radeon_atombios.c
@@ -277,8 +277,10 @@ bool radeon_get_atom_connector_info_from_bios_connector_table(struct drm_device
union atom_supported_devices *supported_devices;
int i,j;
- if (radeon_get_atom_connector_info_from_bios_object_table(dev))
- return true;
+ if ((dev_priv->flags & RADEON_FAMILY_MASK) >= CHIP_R600)
+ // FIXME this should return false for pre-r6xx chips
+ if (radeon_get_atom_connector_info_from_bios_object_table(dev))
+ return true;
atom_parse_data_header(ctx, index, &size, &frev, &crev, &data_offset);