#include <drm/drm_framebuffer.h>
#include "komeda_dev.h"
#include "komeda_kms.h"
static int
komeda_wb_init_data_flow(struct komeda_layer *wb_layer,
struct drm_connector_state *conn_st,
struct komeda_crtc_state *kcrtc_st,
struct komeda_data_flow_cfg *dflow)
{ … }
static int
komeda_wb_encoder_atomic_check(struct drm_encoder *encoder,
struct drm_crtc_state *crtc_st,
struct drm_connector_state *conn_st)
{ … }
static const struct drm_encoder_helper_funcs komeda_wb_encoder_helper_funcs = …;
static int
komeda_wb_connector_get_modes(struct drm_connector *connector)
{ … }
static enum drm_mode_status
komeda_wb_connector_mode_valid(struct drm_connector *connector,
struct drm_display_mode *mode)
{ … }
static const struct drm_connector_helper_funcs komeda_wb_conn_helper_funcs = …;
static enum drm_connector_status
komeda_wb_connector_detect(struct drm_connector *connector, bool force)
{ … }
static int
komeda_wb_connector_fill_modes(struct drm_connector *connector,
uint32_t maxX, uint32_t maxY)
{ … }
static void komeda_wb_connector_destroy(struct drm_connector *connector)
{ … }
static const struct drm_connector_funcs komeda_wb_connector_funcs = …;
static int komeda_wb_connector_add(struct komeda_kms_dev *kms,
struct komeda_crtc *kcrtc)
{ … }
int komeda_kms_add_wb_connectors(struct komeda_kms_dev *kms,
struct komeda_dev *mdev)
{ … }