mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 01:13:11 +00:00
With the new encoder/bridge chain model, the display controller driver is required to create a drm_connector entity instead of asking the bridge to do so during drm_bridge_attach. Moreover, the controller driver should create a drm_bridge entity to negotiate bus formats and a 'simple' drm_encoder entity to expose it to userspace. Update the encoder/bridge initialization sequence in tidss as per the new model. Signed-off-by: Aradhya Bhatia <[email protected]> Reviewed-by: Tomi Valkeinen <[email protected]> Signed-off-by: Javier Martinez Canillas <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
19 lines
421 B
C
19 lines
421 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
|
|
* Author: Tomi Valkeinen <[email protected]>
|
|
*/
|
|
|
|
#ifndef __TIDSS_ENCODER_H__
|
|
#define __TIDSS_ENCODER_H__
|
|
|
|
#include <drm/drm_encoder.h>
|
|
|
|
struct tidss_device;
|
|
|
|
int tidss_encoder_create(struct tidss_device *tidss,
|
|
struct drm_bridge *next_bridge,
|
|
u32 encoder_type, u32 possible_crtcs);
|
|
|
|
#endif
|