This change corrects the secure id to hold vaddr instead of paddr. Change-Id: I021f5c0c7708eb2a0b166fe3a6c13b11aaf33419 Signed-off-by: Samantha Tran <[email protected]>
@@ -286,7 +286,7 @@ static int _sde_kms_scm_call(struct sde_kms *sde_kms, int vmid)
if (ret)
return -ENOMEM;
- sec_sid = (uint32_t *) shm.paddr;
+ sec_sid = (uint32_t *) shm.vaddr;
desc.args[1] = shm.paddr;
desc.args[2] = shm.size;
} else {
@@ -608,7 +608,7 @@ static int sde_rotator_secure_session_ctrl(bool enable)
- sid_info = (uint32_t *) shm.paddr;
+ sid_info = (uint32_t *) shm.vaddr;