projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a9069d
)
drm/radeon: fix typo in evergreen dma fence
author
Alex Deucher
<alexander.deucher@amd.com>
Fri, 4 Jan 2013 00:54:34 +0000
(19:54 -0500)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 4 Jan 2013 00:54:34 +0000
(19:54 -0500)
SRBM write packet takes DW aligned registers.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/evergreen.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/evergreen.c
b/drivers/gpu/drm/radeon/evergreen.c
index
f92f6bb
..
dcdff14
100644
(file)
--- a/
drivers/gpu/drm/radeon/evergreen.c
+++ b/
drivers/gpu/drm/radeon/evergreen.c
@@
-3231,7
+3231,7
@@
void evergreen_dma_fence_ring_emit(struct radeon_device *rdev,
radeon_ring_write(ring, DMA_PACKET(DMA_PACKET_TRAP, 0, 0, 0));
/* flush HDP */
radeon_ring_write(ring, DMA_PACKET(DMA_PACKET_SRBM_WRITE, 0, 0, 0));
- radeon_ring_write(ring, (0xf << 16) |
HDP_MEM_COHERENCY_FLUSH_CNTL
);
+ radeon_ring_write(ring, (0xf << 16) |
(HDP_MEM_COHERENCY_FLUSH_CNTL >> 2)
);
radeon_ring_write(ring, 1);
}