drm.h (aacdf19849734d1be5e407932228ae101ba5b92f) drm.h (c176393728c9fcd8f7ef842cb3e4cedda3f418a2)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (C) 2012 Avionic Design GmbH
4 * Copyright (C) 2012-2013 NVIDIA CORPORATION. All rights reserved.
5 */
6
7#ifndef HOST1X_DRM_H
8#define HOST1X_DRM_H 1

--- 139 unchanged lines hidden (view full) ---

148int tegra_output_connector_get_modes(struct drm_connector *connector);
149enum drm_connector_status
150tegra_output_connector_detect(struct drm_connector *connector, bool force);
151void tegra_output_connector_destroy(struct drm_connector *connector);
152
153void tegra_output_encoder_destroy(struct drm_encoder *encoder);
154
155/* from dpaux.c */
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (C) 2012 Avionic Design GmbH
4 * Copyright (C) 2012-2013 NVIDIA CORPORATION. All rights reserved.
5 */
6
7#ifndef HOST1X_DRM_H
8#define HOST1X_DRM_H 1

--- 139 unchanged lines hidden (view full) ---

148int tegra_output_connector_get_modes(struct drm_connector *connector);
149enum drm_connector_status
150tegra_output_connector_detect(struct drm_connector *connector, bool force);
151void tegra_output_connector_destroy(struct drm_connector *connector);
152
153void tegra_output_encoder_destroy(struct drm_encoder *encoder);
154
155/* from dpaux.c */
156struct drm_dp_link;
157
158struct drm_dp_aux *drm_dp_aux_find_by_of_node(struct device_node *np);
159enum drm_connector_status drm_dp_aux_detect(struct drm_dp_aux *aux);
160int drm_dp_aux_attach(struct drm_dp_aux *aux, struct tegra_output *output);
161int drm_dp_aux_detach(struct drm_dp_aux *aux);
162int drm_dp_aux_enable(struct drm_dp_aux *aux);
163int drm_dp_aux_disable(struct drm_dp_aux *aux);
156struct drm_dp_aux *drm_dp_aux_find_by_of_node(struct device_node *np);
157enum drm_connector_status drm_dp_aux_detect(struct drm_dp_aux *aux);
158int drm_dp_aux_attach(struct drm_dp_aux *aux, struct tegra_output *output);
159int drm_dp_aux_detach(struct drm_dp_aux *aux);
160int drm_dp_aux_enable(struct drm_dp_aux *aux);
161int drm_dp_aux_disable(struct drm_dp_aux *aux);
164int drm_dp_aux_prepare(struct drm_dp_aux *aux, u8 encoding);
165int drm_dp_aux_train(struct drm_dp_aux *aux, struct drm_dp_link *link,
166 u8 pattern);
167
168/* from fb.c */
169struct tegra_bo *tegra_fb_get_plane(struct drm_framebuffer *framebuffer,
170 unsigned int index);
171bool tegra_fb_is_bottom_up(struct drm_framebuffer *framebuffer);
172int tegra_fb_get_tiling(struct drm_framebuffer *framebuffer,
173 struct tegra_bo_tiling *tiling);
174struct drm_framebuffer *tegra_fb_create(struct drm_device *drm,

--- 18 unchanged lines hidden ---
162
163/* from fb.c */
164struct tegra_bo *tegra_fb_get_plane(struct drm_framebuffer *framebuffer,
165 unsigned int index);
166bool tegra_fb_is_bottom_up(struct drm_framebuffer *framebuffer);
167int tegra_fb_get_tiling(struct drm_framebuffer *framebuffer,
168 struct tegra_bo_tiling *tiling);
169struct drm_framebuffer *tegra_fb_create(struct drm_device *drm,

--- 18 unchanged lines hidden ---