linux/drivers/gpu/drm/nouveau/dispnv04/tvnv04.c

/*
 * Copyright (C) 2009 Francisco Jerez.
 * All Rights Reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
 * "Software"), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject to
 * the following conditions:
 *
 * The above copyright notice and this permission notice (including the
 * next paragraph) shall be included in all copies or substantial
 * portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 * IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 *
 */

#include "nouveau_drv.h"
#include "nouveau_reg.h"
#include "nouveau_encoder.h"
#include "nouveau_connector.h"
#include "nouveau_crtc.h"
#include "hw.h"
#include <drm/drm_modeset_helper_vtables.h>

#include <drm/i2c/ch7006.h>

static struct nvkm_i2c_bus_probe nv04_tv_encoder_info[] =;

int nv04_tv_identify(struct drm_device *dev, int i2c_index)
{}


#define PLLSEL_TV_CRTC1_MASK
#define PLLSEL_TV_CRTC2_MASK

static void nv04_tv_dpms(struct drm_encoder *encoder, int mode)
{}

static void nv04_tv_bind(struct drm_device *dev, int head, bool bind)
{}

static void nv04_tv_prepare(struct drm_encoder *encoder)
{}

static void nv04_tv_mode_set(struct drm_encoder *encoder,
			     struct drm_display_mode *mode,
			     struct drm_display_mode *adjusted_mode)
{}

static void nv04_tv_commit(struct drm_encoder *encoder)
{}

static void nv04_tv_destroy(struct drm_encoder *encoder)
{}

static const struct drm_encoder_funcs nv04_tv_funcs =;

static const struct drm_encoder_helper_funcs nv04_tv_helper_funcs =;

int
nv04_tv_create(struct drm_connector *connector, struct dcb_output *entry)
{}