Skip to content

Commit 52fa2bb

Browse files
agd5fairlied
authored andcommitted
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 <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
1 parent 0baf2d8 commit 52fa2bb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

drivers/gpu/drm/radeon/radeon_combios.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3050,6 +3050,14 @@ void radeon_combios_asic_init(struct drm_device *dev)
30503050
rdev->pdev->subsystem_device == 0x308b)
30513051
return;
30523052

3053+
/* quirk for rs4xx HP dv5000 laptop to make it resume
3054+
* - it hangs on resume inside the dynclk 1 table.
3055+
*/
3056+
if (rdev->family == CHIP_RS480 &&
3057+
rdev->pdev->subsystem_vendor == 0x103c &&
3058+
rdev->pdev->subsystem_device == 0x30a4)
3059+
return;
3060+
30533061
/* DYN CLK 1 */
30543062
table = combios_get_table_offset(dev, COMBIOS_DYN_CLK_1_TABLE);
30553063
if (table)

0 commit comments

Comments
 (0)