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

Commit 78cd3661 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/radeon: use packet3 for nop on hawaii with new firmware



Older firmware didn't support the new nop packet.

Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAndreas Boll <andreas.boll.dev@gmail.com>
parent 3c64bd26
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -8394,6 +8394,9 @@ static int cik_startup(struct radeon_device *rdev)
	cik_irq_set(rdev);

	if (rdev->family == CHIP_HAWAII) {
		if (rdev->new_fw)
			nop = PACKET3(PACKET3_NOP, 0x3FFF);
		else
			nop = RADEON_CP_PACKET2;
	} else {
		nop = PACKET3(PACKET3_NOP, 0x3FFF);