mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
drm/radeon: use packet3 for nop on hawaii with new firmware
Older firmware didn't support the new nop packet. Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com>
This commit is contained in:
parent
3c64bd26f7
commit
78cd3661fe
1 changed files with 4 additions and 1 deletions
|
|
@ -8394,7 +8394,10 @@ static int cik_startup(struct radeon_device *rdev)
|
|||
cik_irq_set(rdev);
|
||||
|
||||
if (rdev->family == CHIP_HAWAII) {
|
||||
nop = RADEON_CP_PACKET2;
|
||||
if (rdev->new_fw)
|
||||
nop = PACKET3(PACKET3_NOP, 0x3FFF);
|
||||
else
|
||||
nop = RADEON_CP_PACKET2;
|
||||
} else {
|
||||
nop = PACKET3(PACKET3_NOP, 0x3FFF);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue