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

Commit 79096b2a authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "disp: msm: sde: Update HH_RM_MEM_NOTIFY_* macros"

parents 5febc21a 39a7f44e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -135,7 +135,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
@@ -253,7 +253,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;