mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
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:
parent
ab3c7fdd80
commit
d025293ae2
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
|||
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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue