disp: msm: sde: add client pre_release/post_acquire handles for VM layers
client_pre_release/client_post_acquire hooks in vm_ops allows non-SDE clients to register for callbacks to be invoked - before releasing the resources from the current VM so that the client can updates the respective sw state to indicate the absence of HW ownership - before the first frame push after acquiring the HW to update reset the respective sw state to indicate the presence of HW ownership and resume operations Change-Id: I93e5a2b43c79b4e7cc28e6e0129d8091aa0e508d Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
This commit is contained in:
@@ -254,6 +254,8 @@ static void _sde_vm_set_ops(struct sde_vm_ops *ops)
|
||||
{
|
||||
memset(ops, 0, sizeof(*ops));
|
||||
|
||||
ops->vm_client_pre_release = sde_vm_pre_release;
|
||||
ops->vm_client_post_acquire = sde_vm_post_acquire;
|
||||
ops->vm_release = _sde_vm_release;
|
||||
ops->vm_owns_hw = sde_vm_owns_hw;
|
||||
ops->vm_deinit = _sde_vm_deinit;
|
||||
|
Reference in New Issue
Block a user