diff options
author | Marek Olšák <[email protected]> | 2016-11-30 01:38:23 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-12-01 02:16:51 +0100 |
commit | 77014a0ad36acf11b704ab20456259831a102308 (patch) | |
tree | c186ccf61cb5ddaf65a7d522e621f309a19fce1a /src | |
parent | bacf9b4e735cc9d96acd2d507dfb2fc8831966a3 (diff) |
radeonsi: document a CP DMA bug that doesn't need a workaround yet
This one is easy to miss, because it's not documented in any internal doc.
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/common/sid.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/amd/common/sid.h b/src/amd/common/sid.h index 7f598cad9a0..3b3983fe277 100644 --- a/src/amd/common/sid.h +++ b/src/amd/common/sid.h @@ -151,7 +151,11 @@ #define PKT3_COND_WRITE 0x45 #define PKT3_EVENT_WRITE 0x46 #define PKT3_EVENT_WRITE_EOP 0x47 -#define PKT3_EVENT_WRITE_EOS 0x48 +/* CP DMA bug: Any use of CP_DMA.DST_SEL=TC must be avoided when EOS packets + * are used. Use DST_SEL=MC instead. For prefetch, use SRC_SEL=TC and + * DST_SEL=MC. Only CIK chips are affected. + */ +/*#define PKT3_EVENT_WRITE_EOS 0x48*/ /* fix CP DMA before uncommenting */ #define PKT3_ONE_REG_WRITE 0x57 /* not on CIK */ #define PKT3_ACQUIRE_MEM 0x58 /* new for CIK */ #define PKT3_SET_CONFIG_REG 0x68 |