diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-07-12 17:33:50 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-02 10:29:39 -0700 |
commit | d1a231bfcbb97ff68279cba07310ea1accf107e6 (patch) | |
tree | e4a350a96686fd4af5f331a4bf8eb28cec6c1532 /drivers | |
parent | 495a4d3a214e6c8c81626afc26890c116e1147df (diff) | |
download | lwn-d1a231bfcbb97ff68279cba07310ea1accf107e6.tar.gz lwn-d1a231bfcbb97ff68279cba07310ea1accf107e6.zip |
drm/radeon/kms: fix possible mis-detection of sideport on rs690/rs740
commit 5099fa7f23d3711538cbe9fe072b4ce1ba814035 upstream.
Check ulBootUpMemoryClock on AMD IGPs.
Fix regression noticed by Torsten Kaiser <just.for.lkml@googlemail.com>
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_atombios.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_atombios.c b/drivers/gpu/drm/radeon/radeon_atombios.c index 6d16dadbd5fe..1bac9ee62ad0 100644 --- a/drivers/gpu/drm/radeon/radeon_atombios.c +++ b/drivers/gpu/drm/radeon/radeon_atombios.c @@ -1030,8 +1030,15 @@ bool radeon_atombios_sideport_present(struct radeon_device *rdev) data_offset); switch (crev) { case 1: - if (igp_info->info.ucMemoryType & 0xf0) - return true; + /* AMD IGPS */ + if ((rdev->family == CHIP_RS690) || + (rdev->family == CHIP_RS740)) { + if (igp_info->info.ulBootUpMemoryClock) + return true; + } else { + if (igp_info->info.ucMemoryType & 0xf0) + return true; + } break; case 2: if (igp_info->info_2.ucMemoryType & 0x0f) |