mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 04:49:33 +07:00
98bd0331d1
It is not used anymore after last changes and it was not even correct to begin with as it assumed a 1:1 relation between a CRTC and encoder, while in fact a CRTC can be attached to multiple encoders. Signed-off-by: Tomasz Figa <tfiga@chromium.org> Signed-off-by: Thierry Escande <thierry.escande@collabora.com> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Tested-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-28-enric.balletbo@collabora.com
28 lines
1019 B
C
28 lines
1019 B
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);
|
|
|
|
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__ */
|