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

Commit 39a7f44e authored by Isaac J. Manjarres's avatar Isaac J. Manjarres
Browse files

disp: msm: sde: Update HH_RM_MEM_NOTIFY_* macros



The macros for HH_RM_MEM_NOTIFY_[RECIPIENT/OWNER] have been
updated to be more descriptive, so update the macro
usage in the display files.

Change-Id: I46d866830a2586c647da0f821bdc6f16a3d1c0b1
Signed-off-by: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
parent 8f16ccc9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -134,7 +134,7 @@ static int _sde_vm_lend_notify_registers(struct sde_vm *vm,

	vmid_desc = sde_vm_populate_vmid(trusted_vmid);

	rc = hh_rm_mem_notify(mem_handle, HH_RM_MEM_NOTIFY_RECIPIENT,
	rc = hh_rm_mem_notify(mem_handle, HH_RM_MEM_NOTIFY_RECIPIENT_SHARED,
				  HH_MEM_NOTIFIER_TAG_DISPLAY, vmid_desc);
	if (rc) {
		SDE_ERROR("hyp mem notify failed, rc = %d\n", rc);
+2 −1
Original line number Diff line number Diff line
@@ -244,7 +244,8 @@ static int _sde_vm_release(struct sde_kms *kms)
	}

	rc = hh_rm_mem_notify(sde_vm->base.io_mem_handle,
			HH_RM_MEM_NOTIFY_OWNER,	HH_MEM_NOTIFIER_TAG_DISPLAY, 0);
			HH_RM_MEM_NOTIFY_OWNER_RELEASED,
			HH_MEM_NOTIFIER_TAG_DISPLAY, 0);
	if (rc) {
		SDE_ERROR("hyp mem notify on release failed, rc = %d\n", rc);
		goto end;