From: Marek Olšák Date: Wed, 30 Nov 2016 00:38:23 +0000 (+0100) Subject: radeonsi: document a CP DMA bug that doesn't need a workaround yet X-Git-Tag: upstream/17.1.0~4177 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=77014a0ad36acf11b704ab20456259831a102308;p=platform%2Fupstream%2Fmesa.git 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 --- diff --git a/src/amd/common/sid.h b/src/amd/common/sid.h index 7f598ca..3b3983f 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