disp: correct secure id to hold vaddr

This change corrects the secure id to hold vaddr
instead of paddr.

Change-Id: I021f5c0c7708eb2a0b166fe3a6c13b11aaf33419
Signed-off-by: Samantha Tran <samtran@codeaurora.org>
This commit is contained in:
Samantha Tran
2019-05-28 10:46:31 -07:00
parent ab3c7fdd80
commit d025293ae2
2 changed files with 2 additions and 2 deletions

View File

@@ -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 {

View File

@@ -608,7 +608,7 @@ static int sde_rotator_secure_session_ctrl(bool enable)
if (ret)
return -ENOMEM;
sid_info = (uint32_t *) shm.paddr;
sid_info = (uint32_t *) shm.vaddr;
desc.args[1] = shm.paddr;
desc.args[2] = shm.size;
} else {