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

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
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment