Release 4.7 drivers/gpu/drm/udl/udl_encoder.c
/*
* Copyright (C) 2012 Red Hat
* based in parts on udlfb.c:
* Copyright (C) 2009 Roberto De Ioris <roberto@unbit.it>
* Copyright (C) 2009 Jaya Kumar <jayakumar.lkml@gmail.com>
* Copyright (C) 2009 Bernie Thompson <bernie@plugable.com>
*
* This file is subject to the terms and conditions of the GNU General Public
* License v2. See the file COPYING in the main directory of this archive for
* more details.
*/
#include <drm/drmP.h>
#include <drm/drm_crtc.h>
#include <drm/drm_crtc_helper.h>
#include "udl_drv.h"
/* dummy encoder */
static void udl_enc_destroy(struct drm_encoder *encoder)
{
drm_encoder_cleanup(encoder);
kfree(encoder);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
dave airlie | dave airlie | 20 | 95.24% | 1 | 50.00% |
sachin kamat | sachin kamat | 1 | 4.76% | 1 | 50.00% |
| Total | 21 | 100.00% | 2 | 100.00% |
static void udl_encoder_disable(struct drm_encoder *encoder)
{
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
dave airlie | dave airlie | 10 | 100.00% | 1 | 100.00% |
| Total | 10 | 100.00% | 1 | 100.00% |
static void udl_encoder_prepare(struct drm_encoder *encoder)
{
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
dave airlie | dave airlie | 10 | 100.00% | 1 | 100.00% |
| Total | 10 | 100.00% | 1 | 100.00% |
static void udl_encoder_commit(struct drm_encoder *encoder)
{
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
dave airlie | dave airlie | 10 | 100.00% | 1 | 100.00% |
| Total | 10 | 100.00% | 1 | 100.00% |
static void udl_encoder_mode_set(struct drm_encoder *encoder,
struct drm_display_mode *mode,
struct drm_display_mode *adjusted_mode)
{
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
dave airlie | dave airlie | 20 | 100.00% | 1 | 100.00% |
| Total | 20 | 100.00% | 1 | 100.00% |
static void
udl_encoder_dpms(struct drm_encoder *encoder, int mode)
{
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
dave airlie | dave airlie | 13 | 100.00% | 1 | 100.00% |
| Total | 13 | 100.00% | 1 | 100.00% |
static const struct drm_encoder_helper_funcs udl_helper_funcs = {
.dpms = udl_encoder_dpms,
.prepare = udl_encoder_prepare,
.mode_set = udl_encoder_mode_set,
.commit = udl_encoder_commit,
.disable = udl_encoder_disable,
};
static const struct drm_encoder_funcs udl_enc_funcs = {
.destroy = udl_enc_destroy,
};
struct drm_encoder *udl_encoder_init(struct drm_device *dev)
{
struct drm_encoder *encoder;
encoder = kzalloc(sizeof(struct drm_encoder), GFP_KERNEL);
if (!encoder)
return NULL;
drm_encoder_init(dev, encoder, &udl_enc_funcs, DRM_MODE_ENCODER_TMDS,
NULL);
drm_encoder_helper_add(encoder, &udl_helper_funcs);
encoder->possible_crtcs = 1;
return encoder;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
dave airlie | dave airlie | 67 | 97.10% | 1 | 50.00% |
ville syrjala | ville syrjala | 2 | 2.90% | 1 | 50.00% |
| Total | 69 | 100.00% | 2 | 100.00% |
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
dave airlie | dave airlie | 207 | 97.18% | 1 | 25.00% |
david howells | david howells | 3 | 1.41% | 1 | 25.00% |
ville syrjala | ville syrjala | 2 | 0.94% | 1 | 25.00% |
sachin kamat | sachin kamat | 1 | 0.47% | 1 | 25.00% |
| Total | 213 | 100.00% | 4 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.