mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-22 10:34:55 +08:00
15609559a8
Add support to async updates of cursors by using the new atomic interface for that. Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> [updated for upstream] Signed-off-by: Helen Koike <helen.koike@collabora.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patchwork.freedesktop.org/patch/msgid/20181205123310.7965-1-helen.koike@collabora.com
31 lines
1.1 KiB
C
31 lines
1.1 KiB
C
/*
|
|
* Copyright (C) Fuzhou Rockchip Electronics Co.Ltd
|
|
* Author: Yakir Yang <ykk@rock-chips.com>
|
|
*
|
|
* This software is licensed under the terms of the GNU General Public
|
|
* License version 2, as published by the Free Software Foundation, and
|
|
* may be copied, distributed, and modified under those terms.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
#ifndef __ROCKCHIP_DRM_PSR___
|
|
#define __ROCKCHIP_DRM_PSR___
|
|
|
|
void rockchip_drm_psr_flush_all(struct drm_device *dev);
|
|
|
|
int rockchip_drm_psr_inhibit_put(struct drm_encoder *encoder);
|
|
int rockchip_drm_psr_inhibit_get(struct drm_encoder *encoder);
|
|
|
|
void rockchip_drm_psr_inhibit_get_state(struct drm_atomic_state *state);
|
|
void rockchip_drm_psr_inhibit_put_state(struct drm_atomic_state *state);
|
|
|
|
int rockchip_drm_psr_register(struct drm_encoder *encoder,
|
|
int (*psr_set)(struct drm_encoder *, bool enable));
|
|
void rockchip_drm_psr_unregister(struct drm_encoder *encoder);
|
|
|
|
#endif /* __ROCKCHIP_DRM_PSR__ */
|