disp: msm: sde: add VM files for SDE

Add VM layer files to handle VM specific operations
for primary and secondary VM's. They interact with
Hypervisor RM modules to LEND/ACCEPT/RELEASE/RECLAIM
HW resources. They also handle notifications for each
of the above Hyp RM operations to acquire and update
the SDE software states.

Change-Id: I5982f4bf56550dc464797c62cb356be39925b21c
Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
This commit is contained in:
Jeykumar Sankaran
2020-04-09 16:28:04 -07:00
parent de02324782
commit 720f9d0014
9 changed files with 1118 additions and 2 deletions

View File

@@ -40,6 +40,7 @@
#include "sde_power_handle.h"
#include "sde_irq.h"
#include "sde_core_perf.h"
#include "sde_vm.h"
#define DRMID(x) ((x) ? (x)->base.id : -1)
@@ -310,6 +311,9 @@ struct sde_kms {
cpumask_t irq_cpu_mask;
struct dev_pm_qos_request pm_qos_irq_req[NR_CPUS];
struct irq_affinity_notify affinity_notify;
struct sde_vm_ops vm_ops;
struct sde_vm *vm;
};
struct vsync_info {