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

This commit is contained in:
qctecmdr
2020-09-23 15:35:54 -07:00
committed by Gerrit - the friendly Code Review server
2 changed files with 3 additions and 2 deletions

View File

@@ -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);

View File

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