summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_sema_service.h
blob: 2dfa28d546d8a168d2346adaef1229360a072f59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _GSP_SEMA_SERVICE_H_
#define _GSP_SEMA_SERVICE_H_

/*
 * Emulated-GPU progress service: discovers the guest's GPU-VA -> guest-PA
 * mapping and applies the copy-engine semaphore releases found in mapped
 * pages, so that the guest's UVM progress waits complete.
 *
 * See gsp_sema_service.c for the full description.
 */

int  gsp_sema_service_start(void);
void gsp_sema_service_stop(void);

#endif /* _GSP_SEMA_SERVICE_H_ */