Hello:
We are using the DVR_RDK on a DM816x.
Below I have excerpted the Memory Attribute Register (MAR) bit configuration from FC_RMAN_IRES_6xdsp.cfg.
I have also included our memory configuration.
Here are my questions:
First, the comment for the TILER says to disable the cache for the TILER.
The TILER is 256 Meg, but note that the cfg only disables one bit at MAR160 = 16MB. Is this incorrect?
Second, I'd like to allow DSP code and data to be cache-able. Based on my map, I cannot start the cached region until 0x98000000 (MAR 152) so I added this { Cache.MAR128_159 = 0x000000FF;} Is this correct? When I run this, the DSP processing is crawls as compared to the performance without this configuration. Is there more I need to configure? I have the system set-up with 256K of L2 Cache.
/* Disable caching for HWspinlock addresses */
Cache.MAR0_31 = 0x00000000;
Cache.MAR32_63 = 0x00000000;
/* Config/EDMA registers cache disabled */
Cache.MAR64_95 = 0x00000000;
Cache.MAR96_127 = 0x00000000;
/* TILER memory cache disabled - 0xA0000000*/
Cache.MAR160_191 = 0x7FFFFFFF;
/* memory cache disabled - 0xC0000000*/
Cache.MAR192_223 = 0x00000000;
/* memory cache disabled - 0xE0000000*/
Cache.MAR224_255 = 0x00000000;
SR3_INTRADUCATI_IPC 95000000 00100000 00000000 00100000 RWIX
VIDEO_M3_CODE_MEM 95100000 00280000 00000000 00280000 RWIX
VIDEO_M3_DATA_MEM 95380000 00080000 00000000 00080000 RWIX
VIDEO_M3_BSS_MEM 95400000 00b80000 00000000 00b80000 RWIX
DSS_M3_CODE_MEM 95f80000 00180000 00000000 00180000 RWIX
DSS_M3_DATA_MEM 96100000 001ccccc 00000000 001ccccc RWIX
DSS_M3_BSS_MEM 962ccccc 00f80000 00000000 00f80000 RWIX
DSP_CODE_MEM 9724cccc 00300000 00175ac0 0018a540 RWIX
DDR3_DSP 9754cccc 08ab3333 083ce0b9 006e527a RWIX
TILER_MEM a0000000 10000000 00000000 10000000 RWIX