mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-06-09 11:38:22 +02:00
nv50/kms: remove now unused fields from structs
This commit is contained in:
parent
12f2125f11
commit
d2b4a1fc8b
3 changed files with 0 additions and 9 deletions
|
|
@ -34,9 +34,6 @@ struct nv50_connector {
|
|||
struct drm_connector base;
|
||||
struct list_head item;
|
||||
|
||||
/* struct drm_device *dev; IN BASE */
|
||||
/* int type; IN BASE */
|
||||
|
||||
int bus;
|
||||
struct nv50_i2c_channel *i2c_chan;
|
||||
struct nv50_output *output;
|
||||
|
|
@ -47,7 +44,6 @@ struct nv50_connector {
|
|||
|
||||
int (*hpd_detect) (struct nv50_connector *connector);
|
||||
int (*i2c_detect) (struct nv50_connector *connector);
|
||||
/* int (*destroy) (struct nv50_connector *connector); IN BASE */
|
||||
struct nv50_output *(*to_output) (struct nv50_connector *connector, bool digital);
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -37,9 +37,7 @@ struct nv50_crtc {
|
|||
struct drm_crtc base;
|
||||
struct list_head item;
|
||||
|
||||
/* struct drm_device *dev; IN BASE */
|
||||
int index;
|
||||
/* bool enabled; IN BASE */
|
||||
bool blanked;
|
||||
|
||||
struct drm_display_mode *mode;
|
||||
|
|
|
|||
|
|
@ -33,10 +33,8 @@ struct nv50_output {
|
|||
struct drm_encoder base;
|
||||
struct list_head item;
|
||||
|
||||
/* struct drm_device *dev; IN BASE */
|
||||
int bus;
|
||||
int dcb_entry;
|
||||
/* int type; IN BASE */
|
||||
|
||||
struct nv50_crtc *crtc;
|
||||
struct drm_display_mode *native_mode;
|
||||
|
|
@ -47,7 +45,6 @@ struct nv50_output {
|
|||
/* this is not a normal modeset call, it is a direct register write, so it's executed immediately */
|
||||
int (*set_power_mode) (struct nv50_output *output, int mode);
|
||||
int (*detect) (struct nv50_output *output);
|
||||
/* int (*destroy) (struct nv50_output *output); IN BASE */
|
||||
};
|
||||
|
||||
int nv50_output_or_offset(struct nv50_output *output);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue