treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / gpu / drm / xen / xen_drm_front_conn.h
blob3adacba9a23bfb2712b17f7a4094029d83cdb895
1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
3 /*
4 * Xen para-virtual DRM device
6 * Copyright (C) 2016-2018 EPAM Systems Inc.
8 * Author: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
9 */
11 #ifndef __XEN_DRM_FRONT_CONN_H_
12 #define __XEN_DRM_FRONT_CONN_H_
14 #include <linux/types.h>
16 struct drm_connector;
17 struct xen_drm_front_drm_info;
19 struct xen_drm_front_drm_info;
21 int xen_drm_front_conn_init(struct xen_drm_front_drm_info *drm_info,
22 struct drm_connector *connector);
24 const u32 *xen_drm_front_conn_get_formats(int *format_count);
26 #endif /* __XEN_DRM_FRONT_CONN_H_ */