/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2017-2021, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * 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 __SEC_DISPLAYPORT_H #define __SEC_DISPLAYPORT_H #if IS_ENABLED(CONFIG_SWITCH) || IS_ENABLED(CONFIG_ANDROID_SWITCH) #define CONFIG_SECDP_SWITCH #endif /** * this function waits for completion of dp disconnection. * return : zero if dp resource is released completely. non-zero if waiting timeout happens. */ int secdp_wait_for_disconnect_complete(void); #endif/*__SEC_DISPLAYPORT_H*/