mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 02:18:23 +07:00
dde10068e1
some minor cleanups * 'drm-armada-devel' of git://ftp.arm.linux.org.uk/~rmk/linux-arm: drm/armada: armada_drv: Remove unused function drm/armada: armada_output: Remove some unused functions
34 lines
1.0 KiB
C
34 lines
1.0 KiB
C
/*
|
|
* Copyright (C) 2012 Russell King
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
#ifndef ARMADA_CONNETOR_H
|
|
#define ARMADA_CONNETOR_H
|
|
|
|
#define encoder_helper_funcs(encoder) \
|
|
((const struct drm_encoder_helper_funcs *)encoder->helper_private)
|
|
|
|
struct armada_output_type {
|
|
int connector_type;
|
|
enum drm_connector_status (*detect)(struct drm_connector *, bool);
|
|
int (*create)(struct drm_connector *, const void *);
|
|
int (*set_property)(struct drm_connector *, struct drm_property *,
|
|
uint64_t);
|
|
};
|
|
|
|
struct drm_encoder *armada_drm_connector_encoder(struct drm_connector *conn);
|
|
|
|
int armada_drm_slave_encoder_mode_valid(struct drm_connector *conn,
|
|
struct drm_display_mode *mode);
|
|
|
|
int armada_drm_slave_encoder_set_property(struct drm_connector *conn,
|
|
struct drm_property *property, uint64_t value);
|
|
|
|
int armada_output_create(struct drm_device *dev,
|
|
const struct armada_output_type *type, const void *data);
|
|
|
|
#endif
|