diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-07-21 23:54:35 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-07-22 14:13:52 +1000 |
commit | 52fa2bbc8ec46255039e2048d616bbd0852ee292 (patch) | |
tree | 2b12bd7c09aef28e31a5651a677b8bc26c3eb552 | |
parent | 0baf2d8fe43fdd81faa30e65ff71785c99c78520 (diff) | |
download | linux-stable-52fa2bbc8ec46255039e2048d616bbd0852ee292.tar.gz linux-stable-52fa2bbc8ec46255039e2048d616bbd0852ee292.tar.bz2 linux-stable-52fa2bbc8ec46255039e2048d616bbd0852ee292.zip |
drm/radeon/kms: add quirk to make HP DV5000 laptop resume
Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=29062
Reported-by: Andres Cimmarusti <acimmarusti@gmail.com>
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_combios.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_combios.c b/drivers/gpu/drm/radeon/radeon_combios.c index d1c1d8dd93ce..2417d7b06fdb 100644 --- a/drivers/gpu/drm/radeon/radeon_combios.c +++ b/drivers/gpu/drm/radeon/radeon_combios.c @@ -3050,6 +3050,14 @@ void radeon_combios_asic_init(struct drm_device *dev) rdev->pdev->subsystem_device == 0x308b) return; + /* quirk for rs4xx HP dv5000 laptop to make it resume + * - it hangs on resume inside the dynclk 1 table. + */ + if (rdev->family == CHIP_RS480 && + rdev->pdev->subsystem_vendor == 0x103c && + rdev->pdev->subsystem_device == 0x30a4) + return; + /* DYN CLK 1 */ table = combios_get_table_offset(dev, COMBIOS_DYN_CLK_1_TABLE); if (table) |