projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36582fa
)
drm/amdgpu: Fix definition of KFD_CIK_SDMA_QUEUE_OFFSET
author
Felix Kuehling
<
[email protected]
>
Mon, 27 Nov 2017 23:29:47 +0000
(18:29 -0500)
committer
Oded Gabbay
<
[email protected]
>
Mon, 27 Nov 2017 23:29:47 +0000
(18:29 -0500)
This counts the queue offset in register index, not register address.
Signed-off-by: Felix Kuehling <
[email protected]
>
Acked-by: Oded Gabbay <
[email protected]
>
Signed-off-by: Oded Gabbay <
[email protected]
>
drivers/gpu/drm/amd/amdgpu/cikd.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/cikd.h
b/drivers/gpu/drm/amd/amdgpu/cikd.h
index 6a9e38a3d2a0bbee4265da23f889b4ebf3710b5c..cee6e8a3ad9c9227c81dcfe2f568daf508686219 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/cikd.h
+++ b/
drivers/gpu/drm/amd/amdgpu/cikd.h
@@
-562,7
+562,7
@@
#define PRIVATE_BASE(x) ((x) << 0) /* scratch */
#define SHARED_BASE(x) ((x) << 16) /* LDS */
-#define KFD_CIK_SDMA_QUEUE_OFFSET
0x200
+#define KFD_CIK_SDMA_QUEUE_OFFSET
(mmSDMA0_RLC1_RB_CNTL - mmSDMA0_RLC0_RB_CNTL)
/* valid for both DEFAULT_MTYPE and APE1_MTYPE */
enum {