Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit acfd6ee4 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/radeon: add a quirk for Toshiba Satellite L20-183

Fixes resume from suspend.

bug: https://bugzilla.kernel.org/show_bug.cgi?id=196121


Reported-by: default avatarPrzemek <soprwa@gmail.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
parent 4eb59793
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -3393,6 +3393,13 @@ void radeon_combios_asic_init(struct drm_device *dev)
	    rdev->pdev->subsystem_vendor == 0x103c &&
	    rdev->pdev->subsystem_device == 0x280a)
		return;
	/* quirk for rs4xx Toshiba Sattellite L20-183 latop to make it resume
	 * - it hangs on resume inside the dynclk 1 table.
	 */
	if (rdev->family == CHIP_RS400 &&
	    rdev->pdev->subsystem_vendor == 0x1179 &&
	    rdev->pdev->subsystem_device == 0xff31)
	        return;

	/* DYN CLK 1 */
	table = combios_get_table_offset(dev, COMBIOS_DYN_CLK_1_TABLE);