Forráskód Böngészése

dsp: fix issue with MDF shared memory access in CDSP for QCS403

SMMU is not enabled on CDSP and shared memory to CDSP doesn't need
SID. Default SID from audio ION was being added in 32bit builds.
Avoid adding default SID for MDF shared memory for CDSP.

Change-Id: I5e35396fc90071f96e1042c5e08eafe4226c240b
Signed-off-by: Mangesh Kunchamwar <[email protected]>
Mangesh Kunchamwar 6 éve
szülő
commit
1face6aa6d
1 módosított fájl, 1 hozzáadás és 2 törlés
  1. 1 2
      dsp/q6core.c

+ 1 - 2
dsp/q6core.c

@@ -1209,8 +1209,7 @@ int q6core_map_mdf_shared_memory(uint32_t map_handle, uint64_t *buf_add,
 
 	for (i = 0; i < bufcnt; i++) {
 		mregions->shm_addr_lsw = lower_32_bits(buf_add[i]);
-		mregions->shm_addr_msw =
-				msm_audio_populate_upper_32_bits(buf_add[i]);
+		mregions->shm_addr_msw = upper_32_bits(buf_add[i]);
 		mregions->mem_size_bytes = bufsz[i];
 		++mregions;
 	}