1d722e3fbSopenharmony_ci/*
2d722e3fbSopenharmony_ci * DRM based mode setting test program
3d722e3fbSopenharmony_ci * Copyright (C) 2014 Red Hat
4d722e3fbSopenharmony_ci * Author: Rob Clark <robdclark@gmail.com>
5d722e3fbSopenharmony_ci *
6d722e3fbSopenharmony_ci * Permission is hereby granted, free of charge, to any person obtaining a
7d722e3fbSopenharmony_ci * copy of this software and associated documentation files (the "Software"),
8d722e3fbSopenharmony_ci * to deal in the Software without restriction, including without limitation
9d722e3fbSopenharmony_ci * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10d722e3fbSopenharmony_ci * and/or sell copies of the Software, and to permit persons to whom the
11d722e3fbSopenharmony_ci * Software is furnished to do so, subject to the following conditions:
12d722e3fbSopenharmony_ci *
13d722e3fbSopenharmony_ci * The above copyright notice and this permission notice shall be included in
14d722e3fbSopenharmony_ci * all copies or substantial portions of the Software.
15d722e3fbSopenharmony_ci *
16d722e3fbSopenharmony_ci * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17d722e3fbSopenharmony_ci * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18d722e3fbSopenharmony_ci * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19d722e3fbSopenharmony_ci * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20d722e3fbSopenharmony_ci * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21d722e3fbSopenharmony_ci * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
22d722e3fbSopenharmony_ci * IN THE SOFTWARE.
23d722e3fbSopenharmony_ci */
24d722e3fbSopenharmony_ci
25d722e3fbSopenharmony_ci#ifndef __CURSOR_H__
26d722e3fbSopenharmony_ci#define __CURSOR_H__
27d722e3fbSopenharmony_ci
28d722e3fbSopenharmony_ciint cursor_init(int fd, uint32_t bo_handle, uint32_t crtc_id,
29d722e3fbSopenharmony_ci		uint32_t crtc_w, uint32_t crtc_h, uint32_t w, uint32_t h);
30d722e3fbSopenharmony_ciint cursor_start(void);
31d722e3fbSopenharmony_ciint cursor_stop(void);
32d722e3fbSopenharmony_ci
33d722e3fbSopenharmony_ci#endif
34