Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d025293a authored by Samantha Tran's avatar Samantha Tran
Browse files

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: default avatarSamantha Tran <samtran@codeaurora.org>
parent ab3c7fdd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 {
+1 −1
Original line number Diff line number Diff line
@@ -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 {