projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c64bd2
)
drm/radeon: use packet3 for nop on hawaii with new firmware
author
Alex Deucher
<alexander.deucher@amd.com>
Fri, 1 Aug 2014 18:05:31 +0000
(20:05 +0200)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 5 Aug 2014 12:53:58 +0000
(08:53 -0400)
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>
drivers/gpu/drm/radeon/cik.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/cik.c
b/drivers/gpu/drm/radeon/cik.c
index 2cb507ab0b7cf51eee7d9ec839844f590010b923..2693c57de80cc55739db516b1294d4bea7df6d3e 100644
(file)
--- a/
drivers/gpu/drm/radeon/cik.c
+++ b/
drivers/gpu/drm/radeon/cik.c
@@
-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);
}